Partager via


Exported DDHAL Functions (Windows Embedded CE 6.0)

1/6/2010

The following functions are exported by DDGPE.lib. They are completely functional and suitable for a real-world DirectDraw hardware abstraction layer (DDHAL) implementation. However, to extend and optimize your driver, you might need to augment or replace many of them with your own implementations.

Each of these functions has a corresponding element in a DDHAL callback structure. See the DDHAL documentation 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
);

See Also

Concepts

DDGPE Interface Definition