Re: Screen device name?
Re: Screen device name?
- Subject: Re: Screen device name?
- From: Trygve Inda <email@hidden>
- Date: Thu, 07 Sep 2006 07:07:21 +0000
- Thread-topic: Screen device name?
> Once you have the CGDirectDisplayID, you can call
> CGDisplayIOServicePort to get an IOKit-friendly io_service_t. You
> can then pass this to IODisplayCreateInfoDictionary, which returns a
> CFDictionary with a key kDisplayProductName, whose value is another
> CFDictionary of localized display names (from IOKit/
> IOGraphicsTypes.h: "eg. "en"="Color LCD", "en-GB"="Colour LCD"").
>
> Id like to think there is a more direct way than this, but as far as
> I can tell that is not the case.
>
> spencer
How do I determine the en-GB, en-US etc. for the user's system (not the
language ID as an int, but the above strings?
Trygve
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden