Platform SDK: DirectX |
The DirectDrawColorControl.SetColorControls method sets the color-control settings associated with the specified overlay or primary surface.
object.SetColorControls(colorControl As DDCOLORCONTROL)
If the method fails, it raises an error, and Err.Number can be set to one of the following values:
DDERR_INVALIDOBJECT |
DDERR_INVALIDPARAMS |
DDERR_UNSUPPORTED |
DirectDrawColorControl.GetColorControls, Using Color Controls, Gamma and Color Controls