[This is preliminary documentation and subject to change.]
The SetColorSpace function defines the input color space for a given device context.
HCOLORSPACE WINAPI SetColorSpace(
  HCD hDC,
  HCOLORSPACE hColorSpace
);
 If this function succeeds, the return value is a handle to the hColorSpace being replaced.
If this function fails, the return value is NULL.
  Windows NT: Requires version 4.0 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in wingdi.h.
  Import Library: Use gdi32.lib.
Color Management Overview, ICM 2.0 Functions