Techwiki:Win32k/PFF

From ReactOS Wiki
Jump to: navigation, search

Describes a physical font file. Pool tag is 'Gpff'

typedef struct _PFF
{
  ULONG sizeofThis;   // 000
  PFF *pPFFNext;      // 004
  PFF *pPFFPrev;      // 008
  PWSZ pwszPathname   // 00c
  ULONG cwc;          // 010
  ULONG cFiles;       // 014
  DWORD unknown_018;  // 018
  DWORD unknown_01c;  // 01c
  FLONG flState;      // 020
  ULONG cLoaded;      // 024
  ULONG cNotEnum;     // 028
  ULONG cRFONT;       // 02c
  RFONT *prfntList;   // 030
  HFF hff;            // 034
  HDEV hdev;          // 038
  DHPDEV dhpdev;      // 03c
  void *pfhFace;      // 040
  void *pfhFamily;    // 044
  void *pfhUFI;       // 048
  PFT *pPFT;          // 04c
  ULONG ulCheckSum;   // 050
  DWORD unknown_054;  // 054
  ULONG cFonts;       // 058
  void *ppfv;         // 05c ptr FONTFILEVIEW
  void *pPvtDataHead; // 060
// size 184 ?
} PFF, *PPFF;

pwszPathname

Points to a zero terminated unicode string with the name of the font file.

flState

#define PFF_STATE_READY2DIE 1
#define PFF_STATE_PERMANENT_FONT 2
#define PFF_STATE_NETREMOTE_FONT 4
#define PFF_STATE_EUDC_FONT 8
#define PFF_STATE_MEMORY_FONT 10
#define PFF_STATE_DCREMOTE_FONT 20

References:

  • gdikdx