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 following functions are exported by DDGPE.LIB. They are completely functional and suitable for a real world DirectDraw HAL implementation. However, you will likely need to augment or completely replace many of them with your own implementations in order to extend and optimize your driver.
Each of these functions has a corresponding element in a DirectDraw HAL callback structure. You should consult the DirectDraw HAL documentation in the DirectDraw DDK for more information on these DDHAL functions.
EXTERN_C DWORD WINAPI DDGPEFlipToGDISurface ( LPDDHAL_FLIPTOGDISURFACEDATA pd ); EXTERN_C DWORD WINAPI DDGPEDestroyDriver ( LPDDHAL_DESTROYDRIVERDATA pd ); EXTERN_C DWORD WINAPI DDGPESetMode ( LPDDHAL_SETMODEDATA pd ); EXTERN_C DWORD WINAPI DDGPEWaitForVerticalBlank ( LPDDHAL_WAITFORVERTICALBLANKDATA pd ); EXTERN_C DWORD WINAPI DDGPESetColorKeyDrv ( LPDDHAL_DRVSETCOLORKEYDATA pd ); EXTERN_C DWORD WINAPI DDGPESetColorKey ( LPDDHAL_SETCOLORKEYDATA pd ); EXTERN_C DWORD WINAPI DDGPECreateSurface ( LPDDHAL_CREATESURFACEDATA pd ); EXTERN_C DWORD WINAPI DDGPECreateExecuteBuffer ( LPDDHAL_CREATESURFACEDATA pd ); EXTERN_C DWORD WINAPI DDGPEDestroyExecuteBuffer ( LPDDHAL_DESTROYSURFACEDATA pd ); EXTERN_C DWORD WINAPI DDGPELock ( LPDDHAL_LOCKDATA pd ); EXTERN_C DWORD WINAPI DDGPEUnlock ( LPDDHAL_UNLOCKDATA pd ); EXTERN_C DWORD WINAPI DDGPEDestroySurface ( LPDDHAL_DESTROYSURFACEDATA pd ); EXTERN_C DWORD WINAPI DDGPEFlip ( LPDDHAL_FLIPDATA pd ); EXTERN_C DWORD WINAPI DDGPEBlt ( LPDDHAL_BLTDATA pd ); EXTERN_C DWORD WINAPI DDGPEGetFlipStatus ( LPDDHAL_GETFLIPSTATUSDATA pd ); EXTERN_C DWORD WINAPI DDGPESetPalette ( LPDDHAL_SETPALETTEDATA pd ); EXTERN_C DWORD WINAPI DDGPECreatePalette ( LPDDHAL_CREATEPALETTEDATA pd ); EXTERN_C DWORD WINAPI DDGPEDestroyPalette ( LPDDHAL_DESTROYPALETTEDATA pd ); EXTERN_C DWORD WINAPI DDGPESetEntries ( LPDDHAL_SETENTRIESDATA pd );
Last updated on Tuesday, July 13, 2004