Techwiki:Win32k/DISPLAYINFO

From ReactOS Wiki
Jump to: navigation, search

Windows XP version of DISPLAYINFO and SPB

typedef struct _SPB
{
  struct _SPB *pspbNext;
  PWND         spwnd;
  HBITMAP      hbm;
  RECT         rc;
  HRGN         hrgn;
  DWORD        flags;
  ULONG        ulSaveId;
} SPB, *PSPB;
typedef struct _DISPLAYINFO
{
/* 000 */ HDEV     hDev;
/* 004 */ PVOID    pmdev;
/* 008 */ HDEV     hDevInfo;
/* 00c */ HDC      hdcScreen;
/* 010 */ HDC      hdcBits;
/* 014 */ HDC      hdcGray;
/* 018 */ HBITMAP  hbmGray;
/* 01c */ DWORD    cxGray;
/* 020 */ DWORD    cyGray;
/* 024 */ PDCE     pdceFirst;
/* 028 */ PSPB     pspbFirst;
/* 02c */ DWORD    cMonitors;
/* 030 */ PMONITOR pMonitorPrimary;
/* 034 */ PMONITOR pMonitorFirst;
/* 038 */ RECT     rcScreen;
/* 048 */ HRGN     hrgnScreen;
/* 04c */ WORD     dmLogPixels;
/* 04e */ WORD     BitCountMax;
/* 050 */ BOOL     fDesktopIsRect:1;
/* 050 */ BOOL     fAnyPalette:1;
} DISPLAYINFO, *PDISPLAYINFO;

References

  • Windows Symbol files, userkdx.dll, !dso
  • SPB is a Saved Popup Bits structure.