Files
SabreTools.Models/PortableExecutable/FontGroupHeader.cs
2023-09-04 21:14:41 -04:00

26 lines
921 B
C#

namespace SabreTools.Models.PortableExecutable
{
/// <summary>
/// Contains the information necessary for an application to access a specific font. 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/fontgrouphdr"/>
public sealed class FontGroupHeader
{
/// <summary>
/// The number of individual fonts associated with this resource.
/// </summary>
public ushort NumberOfFonts;
/// <summary>
/// A structure that contains a unique ordinal identifier for each font in the resource. The DE
/// member is a placeholder for the variable-length array of DIRENTRY structures.
/// </summary>
#if NET48
public DirEntry[] DE;
#else
public DirEntry[]? DE;
#endif
}
}