Share via


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