Difference between revisions of "Techwiki:Win32k/SHAREDINFO"

From ReactOS Wiki
Jump to: navigation, search
Line 7: Line 7:
 
  //
 
  //
 
  typedef struct _SHAREDINFO
 
  typedef struct _SHAREDINFO
  {                                // W2k XP
+
  {                                // W2k XP 7
   PSERVERINFO  psi;              // 000
+
   PSERVERINFO  psi;              // 000 000 000
   PHANDLEENTRY aheList;          // 004
+
   PHANDLEENTRY aheList;          // 004 004 004
   PDISPLAYINFO pDisplayInfo;      // 008
+
#if WIN32K_VERSION == NTDDI_WIN7
   ULONG_PTR    ulSharedDelta;    // 00c
+
  ULONG_PTR    HeEntrySize;      //        008
   WNDMSG      awmControl[31];   // 010 010 W2k size is 27
+
#endif
   WNDMSG      DefWindowMsgs;    // 0e8 108
+
   PDISPLAYINFO pDisplayInfo;      // 008 008 00c
   WNDMSG      DefWindowSpecMsgs; // 0f0 110
+
   ULONG_PTR    ulSharedDelta;    // 00c 00c 010
 +
#if WIN32K_VERSION < NTDDI_WINXP
 +
  WNDMSG      awmControl[27];    // 010 010 014
 +
#else
 +
   WNDMSG      awmControl[31];     // 010 010 014
 +
#endif
 +
   WNDMSG      DefWindowMsgs;    // 0e8 108 10c
 +
   WNDMSG      DefWindowSpecMsgs; // 0f0 110 114
 
  } SHAREDINFO, *PSHAREDINFO;
 
  } SHAREDINFO, *PSHAREDINFO;

Revision as of 13:20, 10 February 2012

typedef struct _WNDMSG
{
  DWORD maxMsgs;
  PBYTE abMsgs;
} WNDMSG, *PWNDMSG;
//
//
typedef struct _SHAREDINFO
{                                 // W2k XP  7
  PSERVERINFO  psi;               // 000 000 000
  PHANDLEENTRY aheList;           // 004 004 004
  1. if WIN32K_VERSION == NTDDI_WIN7
  ULONG_PTR    HeEntrySize;       //         008
  1. endif
  PDISPLAYINFO pDisplayInfo;      // 008 008 00c
  ULONG_PTR    ulSharedDelta;     // 00c 00c 010
  1. if WIN32K_VERSION < NTDDI_WINXP
  WNDMSG       awmControl[27];    // 010 010 014
  1. else
  WNDMSG       awmControl[31];     // 010 010 014
  1. endif
  WNDMSG       DefWindowMsgs;     // 0e8 108 10c
  WNDMSG       DefWindowSpecMsgs; // 0f0 110 114
} SHAREDINFO, *PSHAREDINFO;