Previous Next

XLATEOBJ_hGetColorTransform

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

HANDLE
  XLATEOBJ_hGetColorTransform(
    IN 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.

Headers

Declared in winddi.h. Include winddi.h.

Comments

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.

See Also

BRUSHOBJ_hGetColorTransform, DrvIcmCreateColorTransform, XLATEOBJ