Important: The information in this document is obsolete and should not be used for new development.
CMRemoveProfileElement
Removes an element corresponding to a specific tag from the specified profile.
pascal CMError CMRemoveProfileElement ( CMProfileRef prof, OSType tag);
prof
- A profile reference (page 3-63) to the profile containing the tag remove.
tag
- The tag signature for the element to remove.
- function result
- A result code of type CMError. See "Result Codes" (page 3-174) for a list of ColorSync-specific result codes.
DISCUSSION
TheCMRemoveProfileElement
function deletes the tag as well as the element data from the profile.