![]() |
CMGetProfileByAVID |
||||
Header: | CMApplication.h | Carbon status: | Supported | |
Gets the current profile for a monitor.
CMError CMGetProfileByAVID ( AVIDType theAVID, CMProfileRef *prof );
A Display Manager ID value. You pass the ID value for the monitor for which to get the profile. You can get more information about AVID values from the Display Manager SDK.
A pointer to a profile reference. On return, a reference to the current profile for the monitor specified by theAVID.
If the Display Manager supports ColorSync, the CMGetProfileByAVID function calls on the Display Manager to get the profile for the specified display. This is the case if the version of the Display Manager is 2.2.5 or higher (if gestaltDisplayMgrAttr has the gestaltDisplayMgrColorSyncAware bit set).
Supported in Carbon. Available in Carbon 1.0.2 and later when ColorSync 2.5 or later is present.
© 2000 Apple Computer, Inc. (Last Updated 7/17/2000)