Previous Next

BRUSHOBJ_hGetColorTransform

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

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

Headers

Declared in winddi.h. Include winddi.h.

Comments

BRUSHOBJ_hGetColorTransform returns NULL when ICM is disabled.

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

See Also

BRUSHOBJ, DrvIcmCreateColorTransform, XLATEOBJ_hGetColorTransform