shell.SHCreateDefaultContextMenu

PyIUnknown = SHCreateDefaultContextMenu(dcm, iid )

Parameters

dcm : DEFAULTCONTEXTMENU

iid=IID_IContextMenu : PyIID

The IID to query for

Comments

This function is only available on Vista and later; a COM exception with E_NOTIMPL will be thrown if the function can't be located.