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

26 lines
868 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/direntry"/>
public sealed class DirEntry
{
/// <summary>
/// A unique ordinal identifier for an individual font in a font resource group.
/// </summary>
public ushort FontOrdinal;
/// <summary>
/// The FONTDIRENTRY structure for the specified font directly follows the DIRENTRY structure
/// for that font.
/// </summary>
#if NET48
public FontDirEntry Entry;
#else
public FontDirEntry? Entry;
#endif
}
}