Files
SabreTools.Serialization/SabreTools.Data.Models/PortableExecutable/Resource/Entries/NormalMenuHeader.cs

26 lines
990 B
C#
Raw Normal View History

2025-09-26 12:09:34 -04:00
using System.Runtime.InteropServices;
2025-09-26 13:06:18 -04:00
namespace SabreTools.Data.Models.PortableExecutable.Resource.Entries
2025-09-26 12:09:34 -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"/>
[StructLayout(LayoutKind.Sequential)]
2026-01-27 12:03:01 -05:00
public sealed class NormalMenuHeader : MenuHeader
2025-09-26 12:09:34 -04:00
{
/// <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>
public ushort Version;
/// <summary>
/// The size of the menu template header. This value is zero for menus you create with a
/// standard menu template.
/// </summary>
public ushort HeaderSize;
}
}