Share via


DDHAL Callbacks and Capabilities (Compact 2013)

3/26/2014

DirectDraw hardware abstraction layer (DDHAL) includes various callbacks and caps structures. Create each of these structures in a global variable and set them up when they are declared so DDGPE can access them at any time. Then, use these global variables when populating the DDHALINFO structure in your buildDDHALInfo implementation.

For more information on these structures, see DDHAL Callback Structures.

The following table shows the DDHAL callback structures and their corresponding sample variable names.

Type

Sample variable name

DDHAL_DDCALLBACKS

cbDDCallbacks

DDHAL_DDSURFACECALLBACKS

cbDDSurfaceCallbacks

DDHAL_DDCOLORCONTROLCALLBACKS

ColorControlCallbacks

DDHAL_DDMISCELLANEOUSCALLBACKS

MiscellaneousCallbacks

See Also

Reference

DDGPE Interface Definition