Difference between revisions of "Techwiki:Win32k/HEAD"

From ReactOS Wiki
Jump to: navigation, search
Line 13: Line 13:
 
  } THROBJHEAD, *PTHROBJHEAD;
 
  } THROBJHEAD, *PTHROBJHEAD;
 
  //
 
  //
  typedef struct _THREADHEAD
+
  typedef struct _THRDESKHEAD
 
  {
 
  {
 
     THROBJHEAD;
 
     THROBJHEAD;
 
     PDESKTOP    rpdesk;
 
     PDESKTOP    rpdesk;
 
     PVOID      pSelf;  // points to the kernel mode address
 
     PVOID      pSelf;  // points to the kernel mode address
  } THREADHEAD, *PTHREADHEAD;
+
  } THRDESKHEAD, *PTHRDESKHEAD;
 
   
 
   
 
  typedef struct _PROCOBJHEAD
 
  typedef struct _PROCOBJHEAD
Line 26: Line 26:
 
  } PROCOBJHEAD, *PPROCOBJHEAD;
 
  } PROCOBJHEAD, *PPROCOBJHEAD;
 
  //
 
  //
  typedef struct _PROCHEAD
+
  typedef struct _PROCDESKHEAD
 
  {
 
  {
 
     PROCOBJHEAD;
 
     PROCOBJHEAD;
 
     PDESKTOP    rpdesk;
 
     PDESKTOP    rpdesk;
 
     PVOID      pSelf;
 
     PVOID      pSelf;
  } PROCHEAD, *PPROCHEAD;
+
  } PROCHDESKEAD, *PPROCDESKHEAD;
  
 
===References===
 
===References===

Revision as of 17:30, 20 July 2009

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