mirror of
https://github.com/SabreTools/SabreTools.Models.git
synced 2026-02-15 13:55:08 +00:00
26 lines
907 B
C#
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
|
|
}
|
|
}
|