Techwiki:Win32k/LFONTOBJ

From ReactOS Wiki
Jump to: navigation, search

LFONTOBJ based on Yuan's book.

typedef struct
{
    PPDEV ppdev;
    FLOATOBJ efM11;
    FLOATOBJ efM12;
    FLOATOBJ efM21;
    FLOATOBJ efM22;
    HPFE hpfe;
    ULONG iFont;
    ULONG unknown2C;
    ULONG unknown30;
    ULONG unknown34;
    ULONG unknown38;
    ULONG iBitmapFormat;
} LFONT_ENTRY;

typedef struct
{                                         // W2k WXP
    BASEOBJECT     baseobj;               // 000
    LFTYPE         lft;                   // 010       Var from NtGdiHfontCreate
    FLONG          fl;                    // 014       "   "    "
    ULONG          cNumEntries;           // 018
    LFONT_ENTRY    alfe[3];               // 01c
    WCHAR          awchFace[LF_FACESIZE]; // 0d0 0dc
    ULONG          nSize;                 // 110 11c
    ENUMLOGFONTEXW elfexw;                // 114 120
    // size
} LFONTOBJ, *PLFONTOBJ;

awchFace

Capitalized face name.