BRUSHOBJ_hGetColorTransform function

The BRUSHOBJ_hGetColorTransform function retrieves the color transform for the specified brush.

Syntax


HANDLE BRUSHOBJ_hGetColorTransform(
   BRUSHOBJ *pbo
);

Parameters

pbo

Pointer to the BRUSHOBJ structure whose color transform is being queried. The color transform was created in a prior call to DrvIcmCreateColorTransform.

Return value

BRUSHOBJ_hGetColorTransform returns a handle to the color transform for the specified BRUSHOBJ structure upon success. Otherwise, it returns NULL.

Remarks

BRUSHOBJ_hGetColorTransform returns NULL when ICM is disabled.

The color transform for a translation object is obtained by calling XLATEOBJ_hGetColorTransform.

Requirements

Target platform

Universal

Version

Available in Windows 2000 and later versions of the Windows operating systems.

Header

Winddi.h (include Winddi.h)

Library

Win32k.lib

DLL

Win32k.sys

See also

BRUSHOBJ
DrvIcmCreateColorTransform
XLATEOBJ_hGetColorTransform

 

 

Send comments about this topic to Microsoft

Show: