Contents

CMEndMatching

Concludes a QuickDraw-specific ColorSync matching session initiated by a previous call to the NCMBeginMatching function.

Declaration

void CMEndMatching (
   CMMatchRef myRef
);

Parameters

  • myRef:

    A reference to the matching session to end. This reference was previously created and returned by a call to NCMBeginMatching function. See the QuickDraw Reference for a description of the PixMap data type.

Overview

The CMEndMatching function releases private memory allocated for the QuickDraw-specific matching session.

After you call the NCMBeginMatching function and before you call CMEndMatching to end the matching session, embedded color-matching picture comments, such as cmEnableMatching and cmDisableMatching, are not acknowledged.

See Also

Working With QuickDraw