mirror of
https://github.com/SabreTools/BinaryObjectScanner.git
synced 2026-02-11 05:35:15 +00:00
38 lines
1.2 KiB
C#
38 lines
1.2 KiB
C#
|
|
namespace BurnOutSharp.Models.PortableExecutable
|
|||
|
|
{
|
|||
|
|
/// <summary>
|
|||
|
|
/// Defines a menu item in an extended menu template. This structure definition is for
|
|||
|
|
/// explanation only; it is not present in any standard header file.
|
|||
|
|
/// </summary>
|
|||
|
|
/// <see href="https://learn.microsoft.com/en-us/windows/win32/menurc/menuex-template-item"/>
|
|||
|
|
public class MenuItemExtended
|
|||
|
|
{
|
|||
|
|
/// <summary>
|
|||
|
|
/// Describes the menu item.
|
|||
|
|
/// </summary>
|
|||
|
|
public MenuFlags ItemType;
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// Describes the menu item.
|
|||
|
|
/// </summary>
|
|||
|
|
public MenuFlags State;
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// A numeric expression that identifies the menu item that is passed in the
|
|||
|
|
/// WM_COMMAND message.
|
|||
|
|
/// </summary>
|
|||
|
|
public uint ID;
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// A set of bit flags that specify the type of menu item.
|
|||
|
|
/// </summary>
|
|||
|
|
public MenuFlags Flags;
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// A null-terminated Unicode string that contains the text for this menu item.
|
|||
|
|
/// There is no fixed limit on the size of this string.
|
|||
|
|
/// </summary>
|
|||
|
|
public string MenuText;
|
|||
|
|
}
|
|||
|
|
}
|