Difference between revisions of "Techwiki:Win32k/HEAD"

From ReactOS Wiki
Jump to: navigation, search
(References)
Line 6: Line 6:
 
   DWORD  cLockObj;
 
   DWORD  cLockObj;
 
  } HEAD, *PHEAD;
 
  } HEAD, *PHEAD;
 
+
 
  typedef struct _THROBJHEAD
 
  typedef struct _THROBJHEAD
 
  {
 
  {
Line 16: Line 16:
 
  {
 
  {
 
     THROBJHEAD;
 
     THROBJHEAD;
     PDESKTOP pdesktop;
+
     PDESKTOP   rpdesk;
     PVOID   pSelf;  // points to the kernel mode address
+
     PVOID       pSelf;  // points to the kernel mode address
 
  } THREADHEAD, *PTHREADHEAD;
 
  } THREADHEAD, *PTHREADHEAD;
 
+
 
  typedef struct _PROCOBJHEAD
 
  typedef struct _PROCOBJHEAD
 
  {
 
  {
Line 29: Line 29:
 
  {
 
  {
 
     PROCOBJHEAD;
 
     PROCOBJHEAD;
     PDESKTOP pdesktop;
+
     PDESKTOP   rpdesk;
     DWORD    Unknown;
+
     PVOID      pSelf;
 
  } PROCHEAD, *PPROCHEAD;
 
  } PROCHEAD, *PPROCHEAD;
  

Revision as of 18:39, 14 July 2009

Head structures.

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

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

typedef struct _PROCOBJHEAD
{
   HEAD;
   DWORD hTaskWow;
} PROCOBJHEAD, *PPROCOBJHEAD;
//
typedef struct _PROCHEAD
{
   PROCOBJHEAD;
   PDESKTOP    rpdesk;
   PVOID       pSelf;
} PROCHEAD, *PPROCHEAD;

References