Version: 1.0

Posted: 2003-01-14

Build Requirements: N/A

Runtime Requirements: Carbon OS X

View Source Code:

Download Sample (“ColorSyncDevices.zip”, 31.0K)
Download Sample (“ColorSyncDevices.dmg”, 90.6K)



Description

README document ColorSyncDevices Sample Code September 10, 2002 Version 1.0 This code demonstrates how to use the new ColorSync Device Support API's introduced with Mac OS X. More specifically, this sample demonstrates how to use the following API's: CMGetDefaultDevice CMGetDeviceProfile CMIterateColorDevices CMIterateDeviceProfiles The program first displays the default display device and profile using CMGetDefaultDevice and CMGetDeviceProfile. Next, it iterates over and displays all ColorSync devices using CMIterateColorDevices. Lastly, CMIterateDeviceProfiles is used to iterate over the current, custom and factory profiles for each device. Note all output is directed to the console. Requirements: OS X Keywords: ColorSync

Document Revision History

Date Notes
2003-01-14Demonstrates how to use the new ColorSync Device Support APIs introduced with Mac OS X.

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.