Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
The DDRAWI_DDRAWSURFACE_GBLstructure contains the global DirectDrawSurface data that can be shared between object instances.
typedef struct _DDRAWI_DDRAWSURFACE_GBL { DWORD dwRefCnt ; DWORD dwGlobalFlags ; union { LPACCESSRECTLIST lpRectList ; DWORD dwBlockSizeY ; {; union { LPVMEMHEAP lpVidMemHeap ; DWORD dwBlockSizeX ; }; union { LPDDRAWI_DIRECTDRAW_GBL lpDD ; LPVOID lpDDHandle ; }; FLATPTR fpVidMem ; union { LONG lPitch ; DWORD dwLinearSize ; {; WORD wHeight ; WORD wWidth ; DWORD dwUsageCount ; ULONG_PTR dwReserved1 ; DDPIXELFORMAT ddpfSurface ; } DDRAWI_DDRAWSURFACE_GBL;
Members
Flag | Usage |
---|---|
DDRAWISURFGBL_HARDWAREOPDEST | This flag is used by DirectDraw and should not be set by the driver. |
DDRAWISURFGBL_HARDWAREOPSOURCE | This flag is used by DirectDraw and should not be set by the driver. |
DDRAWISURFGBL_HARDWAREOPSTARTED | This flag is used by DirectDraw and should not be set by the driver. |
DDRAWISURFGBL_IMPLICITHANDLE | This flag is used by DirectDraw and should not be set by the driver. |
DDRAWISURFGBL_ISCLIENTMEM | This flag is used by DirectDraw and should not be set by the driver. |
DDRAWISURFGBL_ISGDISURFACE | Indicates this surface represents what GDI thinks is the front buffer. |
DDRAWISURFGBL_LATEALLOCATELINEAR | This flag is used by DirectDraw and should not be set by the driver. |
DDRAWISURFGBL_LOCKBROKEN | This flag is used by DirectDraw and should not be set by the driver. |
DDRAWISURFGBL_LOCKNOTHOLDINGWIN16LOCK | This flag is used by DirectDraw and should not be set by the driver. |
DDRAWISURFGBL_LOCKVRAMSTYLE | This flag is used by DirectDraw and should not be set by the driver. |
DDRAWISURFGBL_MEMFREE | Indicates display memory has been freed. |
DDRAWISURFGBL_SOFTWAREAUTOFLIP | Indicates this surface is autoflipped using software. |
DDRAWISURFGBL_SYSMEMEXECUTEBUFFER | Indicates the surface was allocated in system memory. |
DDRAWISURFGBL_SYSMEMREQUESTED | Indicates that the surface is in system memory at the request of the user. |
DDRAWISURFGBL_VPORTDATA | This flag is used by DirectDraw and should not be set by the driver. |
DDRAWISURFGBL_VPORTINTERLEAVED | This flag is used by DirectDraw and should not be set by the driver. |
Remarks
Driver writers should use the GET_LPDDRAWSURFACE_GBL_MOREmacro to traverse from a DDRAWI_DDRAWSURFACE_GBLaddress to the DDRAWI_DDRAWSURFACE_GBL_MOREstructure.
Last updated on Tuesday, July 13, 2004