Files
SabreTools.Models/PortableExecutable/NewHeader.cs

29 lines
993 B
C#
Raw Normal View History

namespace SabreTools.Models.PortableExecutable
2023-09-04 00:11:04 -04:00
{
/// <summary>
/// Contains the number of icon or cursor components in a resource group. 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/newheader"/>
public sealed class NewHeader
{
/// <summary>
/// Reserved; must be zero.
/// </summary>
2023-09-10 21:24:10 -04:00
public ushort Reserved { get; set; }
2023-09-04 00:11:04 -04:00
/// <summary>
/// The resource type. This member must have one of the following values.
/// - RES_ICON (1): Icon resource type.
/// - RES_CURSOR (2): Cursor resource type.
/// </summary>
2023-09-10 21:24:10 -04:00
public ushort ResType { get; set; }
2023-09-04 00:11:04 -04:00
/// <summary>
/// The number of icon or cursor components in the resource group.
/// </summary>
2023-09-10 21:24:10 -04:00
public ushort ResCount { get; set; }
2023-09-04 00:11:04 -04:00
}
}