Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: IOKit + display models



This is amazing and worked perfectly. Thanks so much!

-Alex

On Nov 26, 2004, at 8:40 PM, Joe van Tunen wrote:

I think IODisplayCreateInfoDictionary does everything you need. The source code is available in the IOKitUser Darwin project so you can see how it works. IODisplayTest.c in the same project (but possibly only in Darwin 6.0 or earlier) shows how to use it.

Below is an updated version of the IODisplayTest code. I couldn't figure out how to get CFBundleCopyPreferredLocalizationsFromArray or CFBundleCopyLocalizationsForPreferences to work properly so I hard coded it to get the english name...

_______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/email@hidden

This email sent to email@hidden
References: 
 >RE: IOKit + display models (From: "Joe van Tunen" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.