BRUSHOBJ_hGetColorTransform function (winddi.h)

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

Syntax

ENGAPI 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

Requirement Value
Minimum supported client Available in Windows 2000 and later versions of the Windows operating systems.
Target Platform Universal
Header winddi.h (include Winddi.h)
Library Win32k.lib
DLL Win32k.sys

See also

BRUSHOBJ

DrvIcmCreateColorTransform

XLATEOBJ_hGetColorTransform