DD_COLORCONTROLCALLBACKS structure (ddrawint.h)

The DD_COLORCONTROLCALLBACKS structure contains an entry pointer to the Microsoft DirectDraw color control callback that a device driver supports.

Syntax

typedef struct _DD_COLORCONTROLCALLBACKS {
  DWORD                    dwSize;
  DWORD                    dwFlags;
  PDD_COLORCB_COLORCONTROL ColorControl;
} DD_COLORCONTROLCALLBACKS;

Members

dwSize

Specifies the size in bytes of this DD_COLORCONTROLCALLBACKS structure.

dwFlags

Indicates whether the device supports the color control callback identified by ColorControl. The driver should set this member to be DDHAL_COLOR_COLORCONTROL when it implements the color control callback.

ColorControl

Points to the driver-supplied DdControlColor callback.

Remarks

Entries that the display driver does not use should be set to NULL. The driver should initialize this structure when its DdGetDriverInfo function is called with the GUID_ColorControlCallbacks GUID.

Requirements

Requirement Value
Header ddrawint.h (include Winddi.h)

See also

DD_CALLBACKS

DD_KERNELCALLBACKS

DD_MISCELLANEOUSCALLBACKS

DD_MOTIONCOMPCALLBACKS

DD_NTCALLBACKS

DD_PALETTECALLBACKS

DD_SURFACECALLBACKS

DD_VIDEOPORTCALLBACKS

DdControlColor

DdGetDriverInfo