DD_COLORCONTROLCALLBACKS 结构 (ddrawint.h)

DD_COLORCONTROLCALLBACKS 结构包含指向设备驱动程序支持的 Microsoft DirectDraw 颜色控件回调的入口指针。

语法

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

成员

dwSize

指定此DD_COLORCONTROLCALLBACKS结构的大小(以字节为单位)。

dwFlags

指示设备是否支持 ColorControl 标识的颜色控制回调。 驱动程序应将此成员设置为在实现颜色控制回调时DDHAL_COLOR_COLORCONTROL。

ColorControl

指向驱动程序提供的 DdControlColor 回调。

备注

显示驱动程序不使用的条目应设置为 NULL。 当使用 GUID_ColorControlCallbacks GUID 调用其 DdGetDriverInfo 函数时,驱动程序应初始化此结构。

要求

   
标头 ddrawint.h (包括 Winddi.h)

请参阅

DD_CALLBACKS

DD_KERNELCALLBACKS

DD_MISCELLANEOUSCALLBACKS

DD_MOTIONCOMPCALLBACKS

DD_NTCALLBACKS

DD_PALETTECALLBACKS

DD_SURFACECALLBACKS

DD_VIDEOPORTCALLBACKS

DdControlColor

DdGetDriverInfo