PyIContextMenu.QueryContextMenu

int = QueryContextMenu(hmenu, indexMenu , idCmdFirst , idCmdLast , uFlags )

Adds options to a context menu

Parameters

hmenu : PyHANDLE

Handle to menu to which items should be added

indexMenu : int

Zero-based index at which to add first item

idCmdFirst : int

Minimum menu item Id

idCmdLast : int

Max menu item Id

uFlags : int

Combination of shellcon.CMF_* flags, can be 0