Export (0) Print
Expand All
Expand Minimize

GetColorSpace Function

The GetColorSpace function retrieves the handle to the input color space from a specified device context.

Syntax

HCOLORSPACE WINAPI GetColorSpace(
    HDC hDC
);

Parameters

hDC

Specifies a device context that is to have its input color space handle retrieved.

Return Value

If the function succeeds, the return value is the current input color space handle.

If this function fails, the return value is NULL.

Remarks

GetColorSpace obtains the handle to the input color space regardless of whether color management is enabled for the device context.

Requirements

Minimum supported client

Windows 2000 Professional

Minimum supported server

Windows 2000 Server

Header

Icm.h

Library

Gdi32.lib

DLL

Gdi32.dll

See Also

Basic Color Management Concepts
Functions

 

 

Send comments about this topic to Microsoft

Build date: 11/16/2010

Community Additions

ADD
Show:
© 2014 Microsoft