[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;
}
<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
None.
None.