Files
SabreTools.Models/PortableExecutable/DirEntry.cs
2023-09-10 21:24:10 -04:00

26 lines
907 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 { get; set; }
/// <summary>
/// The FONTDIRENTRY structure for the specified font directly follows the DIRENTRY structure
/// for that font.
/// </summary>
#if NET48
public FontDirEntry Entry { get; set; }
#else
public FontDirEntry? Entry { get; set; }
#endif
}
}