GetLogColorSpace  HE63.0 

The GetLogColorSpace function retrieves information about the logical color space identified by the specified handle.

BOOL GetLogColorSpace(

    HCOLORSPACE hColorSpace,

 

    LPLOGCOLORSPACE lpbuffer,

 

    DWORD nSize

 

   );

 

 

Parameters

hColorSpace

Handle to the logical color space.

lpBuffer

Pointer to the LOGCOLORSPACE1NIR.71 structure that receives the logical color space information.

nSize

Maximum size of the buffer, in bytes.

 

Return Values

If the function succeeds, the return value is nonzero.

If the function fails, the return value is zero.

Remarks

GetLogColorSpace copies as much information to the buffer as space allows. To determine the correct size of the buffer to use, applications should check the lcsSize member in the structure.

See Also

LOGCOLORSPACE