using System.Runtime.InteropServices; namespace SabreTools.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. /// /// [StructLayout(LayoutKind.Sequential)] public sealed class NormalMenuItem : MenuItem { /// /// The type of menu item. /// [MarshalAs(UnmanagedType.U2)] 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. /// [MarshalAs(UnmanagedType.LPWStr)] public string? NormalMenuText; } }