IDirectDrawColorControl

The IDirectDrawColorControl interface allows you to get and set color controls:

Color controls GetColorControls
  SetColorControls

The IDirectDrawColorControl interface, like all COM interfaces, inherits the IUnknown interface methods. The IUnknown interface supports the following three methods:

AddRef  
QueryInterface  
Release  

You can use the LPDIRECTDRAWCOLORCONTROL data type to declare a variable that contains a pointer to an IDirectDrawColorControl interface. The Ddraw.h header file declares these data types with the following code:

typedef struct IDirectDrawColorControl FAR *LPDIRECTDRAWCOLORCONTROL;