Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The IContextMenu interface is used by the shell when working with context menu extensions.
Implement IContextMenu when you want to use context menu extensions.
Use this interface to add and invoke extra context menu items.
- IUnknown methods
IContextMenu methods Description QueryContextMenu Adds the extra menu items to the context menu. InvokeCommand Runs a context menu command when the user selects one that was inserted with QueryContextMenu. GetCommandString Called by the shell to validate that the command exists, to get the command name, or to get the command help text.
IID_IExtractIcon is not supported. You cannot use the Windows CE IShellFolder::GetUIObjectOf method to request an IID_IExtractIcon interface. GetUIObjectOf returns E_NOTIMPL.
Pocket PC: Pocket PC 2000 and later.
Smartphone: none
OS Versions: Windows CE 3.0 and later.
Header: Declared in shlobj.h.
Send Feedback on this topic to the authors