mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-04-14 18:23:08 +00:00
This change looks dramatic, but it's just separating out the already-split namespaces into separate top-level folders. In theory, every single one could be built into their own Nuget package. `SabreTools.Serialization` still builds the normal Nuget package that is used by all other projects and includes all namespaces.
31 lines
1.1 KiB
C#
31 lines
1.1 KiB
C#
using System.Runtime.InteropServices;
|
|
|
|
namespace SabreTools.Data.Models.PortableExecutable.Resource.Entries
|
|
{
|
|
/// <summary>
|
|
/// Defines the header for 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-header"/>
|
|
[StructLayout(LayoutKind.Sequential)]
|
|
public sealed class MenuHeaderExtended : MenuHeader
|
|
{
|
|
/// <summary>
|
|
/// The template version number. This member must be 1 for extended menu templates.
|
|
/// </summary>
|
|
public ushort Version;
|
|
|
|
/// <summary>
|
|
/// The offset to the first MENUEX_TEMPLATE_ITEM structure, relative to the end of
|
|
/// this structure member. If the first item definition immediately follows the
|
|
/// dwHelpId member, this member should be 4.
|
|
/// </summary>
|
|
public ushort Offset;
|
|
|
|
/// <summary>
|
|
/// The help identifier of menu bar.
|
|
/// </summary>
|
|
public uint HelpID;
|
|
}
|
|
}
|