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

CMINVOKECOMMANDINFO (Structures)
 
.
Summary
Contains information needed by IContextMenu::InvokeCommand to invoke a shortcut menu command.

C# Definition:

[StructLayout (LayoutKind.Sequential)]
struct CMINVOKECOMMANDINFO
{
     int      cbSize;    // sizeof(CMINVOKECOMMANDINFO)
     int      fMask;     // any combination of CMIC_MASK_*
     IntPtr       hwnd;      // might be NULL (indicating no owner window)
     string       lpVerb;    // either a string or MAKEINTRESOURCE(idOffset)
     string       lpParameters;  // might be NULL (indicating no parameter)
     string       lpDirectory;   // might be NULL (indicating no specific directory)
     int      nShow;     // one of SW_ values for ShowWindow() API
     int      dwHotKey;
     IntPtr       hIcon;
}

VB Definition:

<StructLayout(LayoutKind.Sequential, CharSet:=CharSet.Unicode)>

Friend Structure CMINVOKECOMMANDINFO

    Public cbSize As UInt32
    Public fMask As CMIC
    Public hwnd As IntPtr
    Public verb As IntPtr
    <MarshalAs(UnmanagedType.LPStr)> Public parameters As String
    <MarshalAs(UnmanagedType.LPStr)> Public directory As String
    Public nShow As Integer
    Public dwHotKey As UInt32
    Public hIcon As IntPtr

End Structure

User-Defined Field Types:

None.

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