using System.Runtime.InteropServices;
namespace BinaryObjectScanner.Models.PortableExecutable
{
///
/// 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.
///
///
[StructLayout(LayoutKind.Sequential)]
public sealed class NewHeader
{
///
/// Reserved; must be zero.
///
public ushort Reserved;
///
/// The resource type. This member must have one of the following values.
/// - RES_ICON (1): Icon resource type.
/// - RES_CURSOR (2): Cursor resource type.
///
public ushort ResType;
///
/// The number of icon or cursor components in the resource group.
///
public ushort ResCount;
}
}