CreateColorSpace

The CreateColorSpace function creates a logical color space.

HCOLORSPACE CreateColorSpace(

LPLOGCOLORSPACE lpLogColorSpace  
);  

Parameters

lpLogColorSpace

Pointer to the LOGCOLORSPACE structure.

Return Values

If the function succeeds, the return value is a handle that identifies a logical color space.

If the function fails, the return value is NULL.

Remarks

When you no longer need the color space, call the DeleteObject function to delete it.

See Also

DeleteObject, LOGCOLORSPACE