Share via


DDHAL_DDCOLORCONTROLCALLBACKS (Compact 2013)

3/26/2014

This structure contains the color control callback functions used by the driver.

Syntax

typedef struct _DDHAL_DDCOLORCONTROLCALLBACKS {
  DWORD dwSize;
  DWORD dwFlags;
  LPDDHALCOLORCB_COLORCONTROL ColorControl;
  LPDDHALCOLORCB_GAMMACONTROL GammaControl;
} DDHAL_DDCOLORCONTROLCALLBACKS;
typedef DDHAL_DDCOLORCONTROLCALLBACKS FAR *LPDDHAL_DDCOLORCONTROLCALLBACKS;

Members

  • dwSize
    Size of the structure. This parameter must be initialized before the structure is used.
  • dwFlags
    Indicates which of the color control functions are implemented.

    The following table shows the possible flags.

    Flag

    Description

    DDHAL_COLORCB32_COLORCONTROL

    Indicates whether the LPDDHALCOLORCB_COLORCONTROL callback function is implemented.

    DDHAL_COLORCB32_COLORCONTROL

    Indicates whether the LPDDHALCOLORCB_GAMMACONTROL callback function is implemented.

  • ColorControl
    Pointer to the driver's implementation of the HalColorControl (color control callback) function.
  • GammaControl
    Pointer to the driver's implementation of the HalGammaControl (gamma control callback) function.

Remarks

You can query this structure from the driver using LPDDHAL_GETDRIVERINFO with GUID_ColorControlCallbacks.

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.

Requirements

Header

ddrawi.h

See Also

Reference

DDHAL Callback Structures
LPDDHAL_GETDRIVERINFO