• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to get this bundle with identifier
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to get this bundle with identifier


  • Subject: Re: How to get this bundle with identifier
  • From: Jean-Daniel Dupas <email@hidden>
  • Date: Sun, 9 Mar 2008 13:23:12 +0100

I don't think you really want to access the content of a private kernel extension.
If your drive is mounted use -[NSWorkspace iconForFile:], else you should use Icon Manager functions to retreive the disk icon


IconRef iconRef;
OSStatus err = GetIconRef(kOnSystemDisk, kSystemIconsCreator, kGenericHardDiskIcon, &iconRef);


and then search on the net to find how to convert an IconRef into an nsimage


Le 9 mars 08 à 12:48, Nick Rogers a écrit :
Hi,
In my app I need to get the icon for my HDD.
For this I need to get the bundle with identifier "com.apple.iokit.IOStorageFamily".
How can i get this bundle?


Any help would be greatly appreciated.

Wishes,
Nick
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: How to get this bundle with identifier
      • From: Jean-Daniel Dupas <email@hidden>
References: 
 >How to get this bundle with identifier (From: Nick Rogers <email@hidden>)

  • Prev by Date: Re: How to get this bundle with identifier
  • Next by Date: Re: How to get this bundle with identifier
  • Previous by thread: Re: How to get this bundle with identifier
  • Next by thread: Re: How to get this bundle with identifier
  • Index(es):
    • Date
    • Thread