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 DDHAL_DDCALLBACKSstructure contains the 16 and 32-bit DirectDraw callback functions. This structure is included in the DDHALINFOstructure.
typedef struct _DDHAL_DDCALLBACKS { DWORD dwSize ; DWORD dwFlags ; LPDDHAL_DESTROYDRIVER DestroyDriver ; LPDDHAL_CREATESURFACE CreateSurface ; LPDDHAL_SETCOLORKEY SetColorKey ; LPDDHAL_SETMODE SetMode ; LPDDHAL_WAITFORVERTICALBLANK WaitForVerticalBlank ; LPDDHAL_CANCREATESURFACE CanCreateSurface ; LPDDHAL_CREATEPALETTE CreatePalette ; LPDDHAL_GETSCANLINE GetScanLine ; LPDDHAL_SETEXCLUSIVEMODE SetExclusiveMode ; LPDDHAL_FLIPTOGDISURFACE FlipToGDISurface ; } DDHAL_DDCALLBACKS; typedef DDHAL_DDCALLBACKS FAR *LPDDHAL_DDCALLBACKS;
Members
Flag | Usage |
---|---|
DDHAL_CB32_CANCREATESURFACE | Indicates that the CanCreateSurfacecallback is implemented in 32-bit code. |
DDHAL_CB32_CREATEPALETTE | Indicates that the CreatePalettecallback is implemented in 32-bit code. |
DDHAL_CB32_CREATESURFACE | Indicates that the CreateSurfacecallback is implemented in 32-bit code. |
DDHAL_CB32_DESTROYDRIVER | Indicates that the DestroyDrivercallback is implemented in 32-bit code. |
DDHAL_CB32_FLIPTOGDISURFACE | Indicates that the FlipToGDISurfacecallback is implemented in 32-bit code. |
DDHAL_CB32_GETSCANLINE | Indicates that the GetScanLinecallback is implemented in 32-bit code. |
DDHAL_CB32_SETEXCLUSIVEMODE | Indicates that the SetExclusiveModecallback is implemented in 32-bit code. |
DDHAL_CB32_SETMODE | Indicates that the SetModecallback is implemented in 32-bit code. |
DDHAL_CB32_WAITFORVERTICALBLANK | Indicates that the WaitForVerticalBlankcallback is implemented in 32-bit code. |
Remarks
This structure contains the entry points in the display driver that DirectDraw calls. Entries that the display driver does not use should be set to NULL.
Last updated on Tuesday, July 13, 2004