2023-09-10 21:33:22 -04:00
|
|
|
|
namespace SabreTools.Models.PortableExecutable
|
2023-09-04 00:11:04 -04:00
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Contains version information for the menu resource. The structure definition provided
|
|
|
|
|
|
/// here 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/menuheader"/>
|
|
|
|
|
|
public sealed class MenuHeader
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// The version number of the menu template. This member must be equal to zero to indicate
|
|
|
|
|
|
/// that this is an RT_MENU created with a standard menu template.
|
|
|
|
|
|
/// </summary>
|
2023-09-10 21:24:10 -04:00
|
|
|
|
public ushort Version { get; set; }
|
2023-09-04 00:11:04 -04:00
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// The size of the menu template header. This value is zero for menus you create with a
|
|
|
|
|
|
/// standard menu template.
|
|
|
|
|
|
/// </summary>
|
2023-09-10 21:24:10 -04:00
|
|
|
|
public ushort HeaderSize { get; set; }
|
2023-09-04 00:11:04 -04:00
|
|
|
|
}
|
|
|
|
|
|
}
|