Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

IContextMenu (Interfaces)
 
.
Summary
This interface is called by the Shell to either create or merge a shortcut menu associated with a Shell object.

C# Definition:

[ComImport]
[Guid("000214e4-0000-c000-0000-000000000046")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
interface IContextMenu {
     [PreserveSig] int QueryContextMenu (int hmenu, ushort indexMenu, ushort idCmdFirst, ushort idCmdLast, ushort uFlags) ;
     [PreserveSig] int InvokeCommand (ref CMINVOKECOMMANDINFO lpici) ;
     [PreserveSig] int GetCommandString (UIntPtr idCmd, ushort uType, UIntPtr pwReserved, string pszName, ushort cchMax) ;
}

VB Definition:

<ComImport> _
<Guid("000214e4-0000-c000-0000-000000000046")> _
<InterfaceType(ComInterfaceType.InterfaceIsIUnknown)> _
Interface IContextMenu
   TODO
End Interface

User-Defined Types:

CMINVOKECOMMANDINFO

Notes:

None.

Documentation

Please edit this page!

Do you have...

  • helpful tips?
  • corrections to the existing content?
  • alternate definitions?
  • additional languages you want to include?

Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing any supporting types needed.

 
Access PInvoke.net directly from VS:
Terms of Use
Find References
Show Printable Version
Revisions