Techwiki:Win32k/HEAD

From ReactOS Wiki
Revision as of 17:30, 20 July 2009 by Jimtabor (talk | contribs)
Jump to: navigation, search

Head structures.

typedef struct _HEAD
{
  HANDLE h;
  DWORD  cLockObj;
} HEAD, *PHEAD;

typedef struct _THROBJHEAD
{
   HEAD;
   PTHREADINFO pti;
} THROBJHEAD, *PTHROBJHEAD;
//
typedef struct _THRDESKHEAD
{
   THROBJHEAD;
   PDESKTOP    rpdesk;
   PVOID       pSelf;   // points to the kernel mode address
} THRDESKHEAD, *PTHRDESKHEAD;

typedef struct _PROCOBJHEAD
{
   HEAD;
   DWORD hTaskWow;
} PROCOBJHEAD, *PPROCOBJHEAD;
//
typedef struct _PROCDESKHEAD
{
   PROCOBJHEAD;
   PDESKTOP    rpdesk;
   PVOID       pSelf;
} PROCHDESKEAD, *PPROCDESKHEAD;

References