Techwiki:Win32k/PATH

From ReactOS Wiki
Jump to: navigation, search

PATHDT as it's called by Yuan, same struct verified for XP

typedef struct _PATHDT
{
  struct _PATHDT *pNext;      // 0x000
  struct _PATHDT *pPrev;      // 0x004
  FLONG           flags;      // 0x008
  ULONG           cPoints;    // 0x00c
  POINTFX         aptfx[0];   // 0x010
} PATHDT;

pool Tag is 'Gpat', verified for XP

typedef struct
{
  DWORD     unknown;            // 0x000
  PVOID     pTail;              // 0x004
  ULONG     nAllocSize;         // 0x008
  PATHDT    pathdt[0];          // 0x00c
} PATHDEF, *PPATHDEF;

The object from the handle table

typedef struct _PATH
{
  BASEOBJECT   BaseObject;       // 0x000
  PPATHDEF     pPathDef;         // 0x010 = -> 'Gpat'
  PVOID        pprfirst;         // 0x014
  PVOID        pprlast;          // 0x018
  RECTFX       rcfxBoundBox;     // 0x01c
  POINTFX      ptfxSubPathStart; // 0x02c
  ULONG        cChunks;          // 0x034
  ULONG        unknown038;       // 0x038
  ULONG        cSomething;       // 0x03c
  ULONG        fl;               // 0x040
  ULONG        cCurves;          // 0x044
  DWORD        unknown048[48];   // 0x048
// size is 264 = 0x108
} PATH;