|
|
|
|
|
|
|
|
|
Quick Info
Windows NT
| Yes
| Win95
| Yes
| Win32s
| No
| Import Library
| -
| Header File
| shlobj.h
| Unicode
| No
| Platform Notes
| None
|
|
|
IContextMenu2::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, IContextMenu2, IContextMenu
Related Links
Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
More Online Helps
Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages
|