Quick Info

Windows NT
Yes
Win95
Yes
Win32s
No
Import Library
-
Header File
shlobj.h
Unicode
No
Platform Notes
None

IContextMenu::InvokeCommand

[Now Supported on Windows NT]

Carries out the command associated with a context menu item.

HRESULT InvokeCommand(

LPCMINVOKECOMMANDINFO lpici
//Points to a command info structure
);

Parameters

lpici

Pointer to a CMINVOKECOMMANDINFO structure containing information about the command.

Return Values

Returns NOERROR if successful or an OLE-defined error code otherwise.

The shell calls this method when the user chooses a command that the handler added to a context menu. This method may also be called by an application without any corresponding user action.

See Also

CMINVOKECOMMANDINFO
, IContextMenu

Software for developers
Delphi Components
.Net Components
Software for Android Developers
More information resources
MegaDetailed.Net
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database