SetColorSpace
The SetColorSpace
function sets the color space for the specified device context, defining the
endpoints of the logical RGB space in CIE XYZ space.
BOOL SetColorSpace(
HDC hdc, |
// handle to the
device context |
HCOLORSPACE hColorSpace
|
// handle to the
logical color space |
); |
|
Parameters
hdc
Handle to the
device context.
hColorSpace
Handle to the
logical color space.
Return Values
If the
function succeeds, the return value is nonzero.
If the
function fails, the return value is zero.
See Also