namespace BinaryObjectScanner.Models.PortableExecutable { /// /// Contains information about each item in a menu resource that does not open a menu /// or a submenu. The structure definition provided here is for explanation only; it /// is not present in any standard header file. /// /// Contains information about the menu items in a menu resource that open a menu /// or a submenu. The structure definition provided here is for explanation only; /// it is not present in any standard header file. /// /// /// public sealed class MenuItem { #region NORMALMENUITEM /// /// The type of menu item. /// public MenuFlags NormalResInfo; /// /// A null-terminated Unicode string that contains the text for this menu item. /// There is no fixed limit on the size of this string. /// public string NormalMenuText; #endregion #region POPUPMENUITEM /// /// Describes the menu item. /// public MenuFlags PopupItemType; /// /// Describes the menu item. /// public MenuFlags PopupState; /// /// A numeric expression that identifies the menu item that is passed in the /// WM_COMMAND message. /// public uint PopupID; /// /// A set of bit flags that specify the type of menu item. /// public MenuFlags PopupResInfo; /// /// A null-terminated Unicode string that contains the text for this menu item. /// There is no fixed limit on the size of this string. /// public string PopupMenuText; #endregion } }