Platform SDK: DirectX

DDCOLORCONTROL

The DDCOLORCONTROL type defines the color controls associated with a DirectDrawVideoPortObject or a primary surface.

Type DDCOLORCONTROL
    lBrightness As Long
    lColorEnable As Long
    lContrast As Long
    lFlags As CONST_DDCOLORFLAGS
    lGamma As Long
    lHue As Long
    lReserved1 As Long
    lSaturation As Long
    lSharpness As Long
End Type

Members

lBrightness
Luminance intensity, in IRE units times 100. The valid range is from 0 through 10,000. The default is 750, which translates to 7.5 IRE.
lColorEnable
Flag indicating whether color is used. If this member is 0, color is not used; if it is 1, color is used. The default value is 1.
lContrast
Relative difference between higher and lower intensity luminance values, in IRE units times 100. The valid range is from 0 through 20,000. The default value is 10,000 (100 IRE). Higher values of contrast cause darker luminance values to tend toward black and lighter luminance values to tend toward white. Lower values of contrast cause all luminance values to move toward the middle of the scale.
lFlags
Constants of the CONST_DDCOLORFLAGS enumeration specifying which type members contain valid data . When the type is returned by the DirectDrawColorControl.GetColorControls method, it also indicates which options are supported by the device.
lGamma
Controls the amount of gamma correction applied to the luminance values. The valid range is from 1 through 500 gamma units, with a default of 1.
lHue
Phase relationship of the chrominance components. Hue is specified in degrees, and the valid range is from –180 through 180. The default is 0.
lReserved1
Reserved.
lSaturation
Color intensity, in IRE units times 100. The valid range is from 0 through 20,000. The default value is 10,000, which translates to 100 IRE.
lSharpness
Sharpness, in arbitrary units. The valid range is from 0 trhough 10. The default value is 5.