Skip to content

Latest commit

 

History

History
93 lines (70 loc) · 3.01 KB

nf-wingdi-getlogcolorspacea.md

File metadata and controls

93 lines (70 loc) · 3.01 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:wingdi.GetLogColorSpaceA
GetLogColorSpaceA function (wingdi.h)
The GetLogColorSpace function retrieves the color space definition identified by a specified handle. (ANSI)
GetLogColorSpaceA
wingdi/GetLogColorSpaceA
wcs\getlogcolorspace.htm
WCS
01862a48-8c2f-4b29-b928-2800c02218a2
12/05/2018
GetLogColorSpace, GetLogColorSpace function [Windows Color System], GetLogColorSpaceA, GetLogColorSpaceW, _color_GetLogColorSpace, wcs.getlogcolorspace, wingdi/GetLogColorSpace, wingdi/GetLogColorSpaceA, wingdi/GetLogColorSpaceW
wingdi.h
Windows
Windows 2000 Professional [desktop apps only]
Windows 2000 Server [desktop apps only]
GetLogColorSpaceW (Unicode) and GetLogColorSpaceA (ANSI)
Gdi32.lib
Gdi32.dll
Windows
19H1
GetLogColorSpaceA
wingdi/GetLogColorSpaceA
c++
APIRef
kbSyntax
DllExport
Gdi32.dll
Ext-MS-Win-GDI-Internal-Desktop-L1-1-0.dll
GDI32Full.dll
GetLogColorSpace
GetLogColorSpaceA
GetLogColorSpaceW

GetLogColorSpaceA function

-description

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

-parameters

-param hColorSpace

Specifies the handle to a color space.

-param lpBuffer

Points to a buffer to receive the LOGCOLORSPACE structure.

-param nSize

Specifies the maximum size of the buffer.

-returns

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.

Note

The wingdi.h header defines GetLogColorSpace as an alias which automatically selects the ANSI or Unicode version of this function based on the definition of the UNICODE preprocessor constant. Mixing usage of the encoding-neutral alias with code that not encoding-neutral can lead to mismatches that result in compilation or runtime errors. For more information, see Conventions for Function Prototypes.

-see-also