GetColorSpace

The GetColorSpace function retrieves the current handle to the logical color space from the specified device context.

HANDLE GetColorSpace(

HDC hdc  
);  

Parameters

hdc

Handle to a device context.

Return Values

If the function succeeds, the return value is the current handle to the logical color space.

If the function fails, the return value is NULL.

See Also

SetColorSpace