IDirectDrawColorControl interface (ddraw.h)

Applications use the methods of the IDirectDrawColorControl interface to get and set color controls.

Inheritance

The IDirectDrawColorControl interface inherits from the IUnknown interface. IDirectDrawColorControl also has these types of members:

Methods

The IDirectDrawColorControl interface has these methods.

 
IDirectDrawColorControl::GetColorControls

Retrieves the current color-control settings that are associated with an overlay or a primary surface.
IDirectDrawColorControl::SetColorControls

Sets the color-control options for an overlay or a primary surface.

Remarks

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 this data type with the following code:


typedef struct IDirectDrawColorControl    FAR *LPDIRECTDRAWCOLORCONTROL;

Requirements

Requirement Value
Target Platform Windows
Header ddraw.h