Platform SDK: DirectX |
The DirectDrawColorControl.GetColorControls method returns the current color control settings associated with the specified overlay or primary surface. The IFlags member of the DDCOLORCONTROL type indicates which of the color control options are supported.
object.GetColorControls(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 |
This method fails if the DirectDraw device does not support color controls.
DirectDrawColorControl.SetColorControls, Using Color Controls, Gamma and Color Controls