GetLogColorSpace

[This is preliminary documentation and subject to change.]

The GetLogColorSpace function retrieves the color space definition identified by a specified handle.

BOOL WINAPI GetLogColorSpace(
  HCOLORSPACE hColorSpace,
  LPLOGCOLORSPACE lpBuffer,
  DWORD nSize
);
 

Parameters

hColorSpace
Specifies the handle to a color space.
lpBuffer
Points to a buffer to receive the LOGCOLORSPACE structure.
nSize
Specifies the maximum size of the buffer.

Return Values

If this function succeeds, the return value is TRUE.

If this function fails, the return value is FALSE.

QuickInfo

  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.
  Unicode: Implemented as Unicode and ANSI versions on Windows NT.

See Also

Color Management Overview, ICM 2.0 Functions