XLATEOBJ_hGetColorTransform function (winddi.h)

The XLATEOBJ_hGetColorTransform function returns the color transform for the specified translation object.

Syntax

ENGAPI HANDLE XLATEOBJ_hGetColorTransform(
  XLATEOBJ *pxlo
);

Parameters

pxlo

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

Return value

XLATEOBJ_hGetColorTransform returns a handle to the color transform for the specified XLATEOBJ upon success. Otherwise, it returns NULL.

Remarks

XLATEOBJ_hGetColorTransform returns NULL when it is called in host ICM context or when ICM is disabled.

The color transform for a brush is obtained by calling BRUSHOBJ_hGetColorTransform.

Requirements

   
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_hGetColorTransform

DrvIcmCreateColorTransform

XLATEOBJ