GetLogColorSpace function

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

Syntax


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 value

If this function succeeds, the return value is TRUE.

If this function fails, the return value is FALSE.

Remarks

Windows 95/98/Me: GetLogColorSpaceW is supported by the Microsoft Layer for Unicode. To use this, you must add certain files to your application, as outlined in Microsoft Layer for Unicode on Windows 95/98/Me Systems.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Wingdi.h

Library

Gdi32.lib

DLL

Gdi32.dll

Unicode and ANSI names

GetLogColorSpaceW (Unicode) and GetLogColorSpaceA (ANSI)

See also

Basic Color Management Concepts
Functions

 

 

Show: