Type a page name and press Enter. You'll jump to the page if it exists, or you can create it if it doesn't.
To create a page in a module other than Structures, prefix the name with the module name and a period.
MENUITEMINFO (Structures)
.
C# Signature:
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Auto)]
class MENUITEMINFO {
public Int32 cbSize = Marshal.SizeOf(typeof(MENUITEMINFO));
public MIIM fMask;
public UInt32 fType;
public UInt32 fState;
public UInt32 wID;
public IntPtr hSubMenu;
public IntPtr hbmpChecked;
public IntPtr hbmpUnchecked;
public IntPtr dwItemData;
public string dwTypeData = null;
public UInt32 cch; // length of dwTypeData
public IntPtr hbmpItem;
public MENUITEMINFO() { }
public MENUITEMINFO(MIIM pfMask) {
fMask = pfMask;
}
}
VB.Net Signature:
<StructLayout(LayoutKind.Sequential, CharSet:=CharSet.Auto)> _
Public Class MENUITEMINFO
Public cbSize As Int32 = Marshal.SizeOf(GetType(MENUITEMINFO))
Public fMask As MIIM
Public fType As UInt32
Public fState As UInt32
Public wID As UInt32
Public hSubMenu As IntPtr
Public hbmpChecked As IntPtr
Public hbmpUnchecked As IntPtr
Public dwItemData As IntPtr
Public dwTypeData As String = Nothing
Public cch As UInt32
Public hbmpItem As IntPtr
End Class
User-Defined Field Types:
C#:
[Flags]
enum MIIM {
BITMAP = 0x00000080,
CHECKMARKS = 0x00000008,
DATA = 0x00000020,
FTYPE = 0x00000100,
ID = 0x00000002,
STATE = 0x00000001,
STRING = 0x00000040,
SUBMENU = 0x00000004,
TYPE = 0x00000010
}
VB.Net:
<Flags>
Enum MIIM
BITMAP = &H00000080
CHECKMARKS = &H00000008
DATA = &H00000020
FTYPE = &H00000100
ID = &H00000002
STATE = &H00000001
[STRING] = &H00000040
SUBMENU = &H00000004
TYPE = &H00000010
End Enum
Notes:
None.
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.