DDRAWI_DIRECTDRAW_GBL (Windows CE 5.0)
This structure contains the global DirectDraw data that can be shared between object instances.
typedef struct _DDRAWI_DIRECTDRAW_GBL {DWORDdwRefCnt;DWORDdwFlags;FLATPTRfpPrimaryOrig;DDCORECAPSddCaps;DWORDdwInternal1;DWORDdwUnused1[9];LPDDHAL_CALLBACKSlpDDCBtmp;LPDDRAWI_DDRAWSURFACE_INTdsList;LPDDRAWI_DDRAWPALETTE_INTpalList;LPDDRAWI_DDRAWCLIPPER_INTclipperList;LPDDRAWI_DIRECTDRAW_GBLlp16DD;DWORDdwMaxOverlays;DWORDdwCurrOverlays;DWORDdwMonitorFrequency;DDCORECAPSddHELCaps;DWORDdwUnused2[50];DDCOLORKEYddckCKDestOverlay;DDCOLORKEYddckCKSrcOverlay;VIDMEMINFOvmiData;LPVOIDlpDriverHandle;LPDDRAWI_DIRECTDRAW_LCLlpExclusiveOwner;DWORDdwModeIndex;DWORDdwModeIndexOrig;DWORDdwNumFourCC;DWORDFAR* lpdwFourCC;DWORDdwNumModes;LPDDHALMODEINFOlpModeInfo;PROCESS_LISTplProcessList;DWORDdwSurfaceLockCount;DWORDdwAliasedLockCnt;ULONG_PTRdwReserved3;ULONG_PTRhDD;wchar_tcObsolete[12];DWORDdwReserved1;DWORDdwReserved2;DBLNODEdbnOverlayRoot;volatile LPWORDlpwPDeviceFlags;DWORDdwPDevice;DWORDdwWin16LockCnt; DWORDdwUnused3;DWORDhInstance;DWORDdwEvent16;DWORDdwSaveNumModes;ULONG_PTRlpD3DGlobalDriverData;ULONG_PTRlpD3DHALCallbacks;DDCORECAPSddBothCaps;LPDDVIDEOPORTCAPSlpDDVideoPortCaps;LPDDRAWI_DDVIDEOPORT_INTdvpList;ULONG_PTRlpD3DHALCallbacks2;RECTrectDevice;DWORDcMonitors;LPVOIDgpbmiSrc;LPVOIDgpbmiDest;LPHEAPALIASINFOphaiHeapAliases;DWORDhKernelHandle;ULONG_PTRpfnNotifyProc;LPDDKERNELCAPSlpDDKernelCaps;LPDDNONLOCALVIDMEMCAPSlpddNLVCaps;LPDDNONLOCALVIDMEMCAPSlpddNLVHELCaps;LPDDNONLOCALVIDMEMCAPSlpddNLVBothCaps;ULONG_PTRlpD3DExtendedCaps;DWORDdwDOSBoxEvent;RECTrectDesktop;wchar_tcDriverName[MAX_DRIVER_NAME];ULONG_PTRlpD3DHALCallbacks3;DWORDdwNumZPixelFormats;LPDDPIXELFORMATlpZPixelFormats;ULONG_PTRmcList;DWORDhDSVxd;DDSCAPSEXddsCapsMore;} DDRAWI_DIRECTDRAW_GBL;
Members
dwRefCnt**
Used by DirectDraw and should not be filled in by the driver.dwFlags**
Contains the DirectDraw object's control flags.The following table shows the possible flags.
Flag Description DDRAWI_ATTACHEDTODESKTOP Reserved for future use. DDRAWI_CHANGINGMODE Reserved for future use. DDRAWI_DDRAWDATANOTFETCHED Reserved for future use. DDRAWI_DISPLAYDRV Indicates the driver is the display driver. DDRAWI_EMULATIONINITIALIZED Used by DirectDraw and should not be set by the driver. DDRAWI_EXTENDEDALIGNMENT Used by DirectDraw and should not be set by the driver. DDRAWI_FLIPEDTOGDI Indicates the driver has been flipped to show the GDI surface. DDRAWI_FULLSCREEN Indicates the driver is in full-screen mode. DDRAWI_GDIDRV Reserved for future use. DDRAWI_HASCKEYDESTOVERLAY Used by DirectDraw and should not be set by the driver. DDRAWI_HASCKEYSRCOVERLAY Used by DirectDraw and should not be set by the driver. DDRAWI_HASGDIPALETTE Used by DirectDraw and should not be set by the driver. DDRAWI_HASGDIPALETTE_EXCLUSIVE Reserved for future use. DDRAWI_MODECHANGED Used by DirectDraw and should not be set by the driver. DDRAWI_MODEX Used by DirectDraw and should not be set by the driver. DDRAWI_MODEXILLEGAL Indicates that ModeX is not supported by this hardware. DDRAWI_NEEDSWIN16FORVRAMLOCK Used by DirectDraw and should not be set by the driver. DDRAWI_NOEMULATION Used by DirectDraw and should not be set by the driver. DDRAWI_NOHARDWARE Used by DirectDraw and should not be set by the driver. DDRAWI_PALETTEINIT Used by DirectDraw and should not be set by the driver. DDRAWI_PDEVICEVRAMBITCLEARED Used by DirectDraw and should not be set by the driver. DDRAWI_SECONDARYDRIVERLOADED Used by DirectDraw and should not be set by the driver. DDRAWI_STANDARDVGA Used by DirectDraw and should not be set by the driver. DDRAWI_UMODELOADED Reserved for future use. DDRAWI_VIRTUALDESKTOP Used by DirectDraw and should not be set by the driver. fpPrimaryOrig**
Pointer to the primary surface display memory.ddCaps**
Pointer to a DDCORECAPS structure that contains the driver capabilities.dwInternal1
Used by DirectDraw and should not be filled in by the driver.dwUnused1
Not currently used.lpDDCBtmp**
Used by DirectDraw and should not be filled in by the driver.dsList**
Used by DirectDraw and should not be filled in by the driver.palList**
Used by DirectDraw and should not be filled in by the driver.clipperList**
Used by DirectDraw and should not be filled in by the driver.lp16DD**
Used by DirectDraw and should not be filled in by the driver.dwMaxOverlays
Maximum number of overlays.dwCurrOverlays**
Current number of visible overlays.dwMonitorFrequency**
Monitor frequency in the current mode.ddHELCaps**
Pointer to a DDCORECAPS structure that contains the hardware emulation layer (HEL) capabilities.dwUnused2
Not currently used.ddckCKDestOverlay**
Used by DirectDraw and should not be filled in by the driver.ddckCKSrcOverlay**
Used by DirectDraw and should not be filled in by the driver.vmiData**
Pointer to a VIDMEMINFO structure that contains information about display memory.lpDriverHandle**
Handle used by the display driver to call functions in Ddraw16.dll.lpExclusiveOwner**
Used by DirectDraw and should not be filled in by the driver.dwModeIndex**
Contains the current mode index.dwModeIndexOrig**
Contains the original mode index.dwNumFourCC**
Number of FourCC codes supported.lpdwFourCC**
Used by DirectDraw and should not be filled in by the driver.dwNumModes**
Number of modes supported.lpModeInfo**
Used by DirectDraw and should not be filled in by the driver.plProcessList**
Used by DirectDraw and should not be filled in by the driver.dwSurfaceLockCount**
Total number of outstanding locks.dwAliasedLockCnt**
Used by DirectDraw and should not be filled in by the driver.dwReserved3**
Reserved for use by the display driver.hDD**
Used by DirectDraw and should not be filled in by the driver.cObsolete
Used by DirectDraw and should not be filled in by the driver.dwReserved1**
Reserved for use by the display driver.dwReserved2**
Reserved for use by the display driver.dbnOverlayRoot**
The root node of the doubly linked list of overlay z orders.lpwPDeviceFlags**
Used by DirectDraw and should not be filled in by the driver.dwPDevice**
Used by DirectDraw and should not be filled in by the driver.dwWin16LockCnt**
Used by DirectDraw and should not be filled in by the driver.dwUnused3**
Used by DirectDraw and should not be filled in by the driver.hInstance**
Instance handle to the driver.dwEvent16**
An event used by the 16-bit side of the driver to tell the 32-bit side that a mode change has occurred.dwSaveNumModes**
Used by DirectDraw and should not be filled in by the driver.lpD3DGlobalDriverData**
Used by DirectDraw and should not be filled in by the driver.lpD3DHALCallbacks**
Used by DirectDraw and should not be filled in by the driver.ddBothCaps**
Pointer to a DDCORECAPS structure containing the logical AND of the driver and the HEL capabilities.lpDDVideoPortCaps
Pointer to a DDVIDEOPORTCAPS structure containing the information returned by the HAL, which is an array, if your hardware has more than one video port.dvpList
Used by DirectDraw and should not be filled in by the driver.lpD3DHALCallbacks2**
Used by DirectDraw and should not be filled in by the driver.rectDevice**
Used by DirectDraw and should not be filled in by the driver.cMonitors**
Used by DirectDraw and should not be filled in by the driver.gpbmiSrc**
Used by DirectDraw and should not be filled in by the driver.gpbmiDest**
Used by DirectDraw and should not be filled in by the driver.phaiHeapAliases**
Used by DirectDraw and should not be filled in by the driver.hKernelHandle**
Used by DirectDraw and should not be filled in by the driver.pfnNotifyProc**
Used by DirectDraw and should not be filled in by the driver.lpDDKernelCaps**
Pointer to a DDKERNELCAPS structure that contains the capabilities of the kernel mode interface. Not used on Windows CE.lpddNLVCaps**
Pointer to a DDNONLOCALVIDMEMCAPS structure that contains your hardware's nonlocal-to-local display memory capabilities.lpddNLVHELCaps**
Pointer to a DDNONLOCALVIDMEMCAPS structure that contains the emulation layer's nonlocal-to-local display memory capabilities.lpddNLVBothCaps**
Pointer to a DDNONLOCALVIDMEMCAPS structure that contains the logical AND of hardware's and emulation's nonlocal-to-local display memory capabilities.lpD3DExtendedCaps**
Extended capabilities for Microsoft® Direct3D®. Not used on Windows CE.dwDOSBoxEvent
Used by DirectDraw and should not be filled in by the driver.rectDesktop
Used by DirectDraw and should not be filled in by the driver.cDriverName
Used by DirectDraw and should not be filled in by the driver.lpD3DHALCallbacks3
Used by DirectDraw and should not be filled in by the driver.dwNumZPixelFormats
Used by DirectDraw and should not be filled in by the driver.lpZPixelFormats
Used by DirectDraw and should not be filled in by the driver.mcList
Used by DirectDraw and should not be filled in by the driver.hDSVxd
Used by DirectDraw and should not be filled in by the driver.ddsCapsMore**
Used by DirectDraw and should not be filled in by the driver.
Requirements
OS Versions: Windows CE 2.12 and later. Version 2.12 requires DXPAK 1.0 or later.
Header: Ddrawi.h.
See Also
DDCORECAPS | VIDMEMINFO | DDVIDEOPORTCAPS | DDNONLOCALVIDMEMCAPS | DirectDraw Structures
Send Feedback on this topic to the authors