Carbon


CMDisposeProfileSearch

Header: CMApplication.h Carbon status: Supported

Frees the private memory allocated for a profile search after your application has completed the search.

void CMDisposeProfileSearch (
    CMProfileSearchRef search
);
Parameter descriptions
search

A reference to the profile search result list whose private memory is to be released. For a description of the CMProfileSearchRef private data type, see CMProfileSearchRef.

DISCUSSION

To set up a search, use the function CMNewProfileSearch. To obtain a reference to a profile corresponding to a specific index in the list, use the function CMSearchGetIndProfile. To obtain the file specification for a profile corresponding to a specific index in the list, use the function CMSearchGetIndProfileFileSpec. To update the search result list, use the function CMUpdateProfileSearch.

VERSION NOTES

This function is not recommended for use in ColorSync 2.5.

Starting with version 2.5, you should use the function CMIterateColorSyncFolder for profile searching.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later when ColorSync 2.0 or later is present.


© 2000 Apple Computer, Inc. (Last Updated 7/17/2000)