Share via


CMDeleteTransform

The CMDeleteTransform function deletes a specified color transform, and frees any memory associated with it.

BOOL WINAPI CMDeleteTransform(
  HCMTRANSFORM hcmTransform);

Parameters

  • hcmTransform
    Identifies the color transform to be deleted.

Return Values

If this function succeeds, the return value is TRUE.

If the function fails, the return value is FALSE. If the CMDeleteTransform function is not successful, the CMM should call SetLastError to set the last error to a valid error value defined in Winerror.h.

Remarks

Every CMM is required to export this function.

Requirements

**  Windows NT/2000/XP/Vista:** Included in Windows 2000 and later.
**  Windows 95/98/Me:** Included in Windows 98 and later.
**  Header:** Declared in Wingdi.h.
**  Library:** Use Gdi32.lib.

See Also

Basic Color Management Concepts, Functions