SHInvokeContextMenuCommand
This function invokes a command from a context menu. It issues the command in the extension that added it to the menu.
BOOL SHInvokeContextMenuCommand(
HWND hwndOwner,
UINT idCmd,
HANDLE hCMExtensions
);
Parameters
- hwndOwner
[in] Handle to the window that owns the menu, message boxes, and so on. - idCmd
[in] Command ID to execute. - hCMExtensions
[in] Handle to the context menu extensions abstraction object.
Return Values
This function returns TRUE if it is successful and FALSE if it fails.
Requirements
OS Versions: Windows CE .NET 4.2 and later.
Header: Aygshell.h.
Link Library: Aygshell.lib.
See Also
Last updated on Wednesday, April 13, 2005
© 2005 Microsoft Corporation. All rights reserved.