Share via


DDHAL_DDCOLORCONTROLCALLBACKS (Windows Embedded CE 6.0)

1/6/2010

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 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
Windows Embedded CE Windows Embedded CE 6.0 and later

See Also

Reference

LPDDHAL_GETDRIVERINFO

Concepts

DDHAL Callback Structures