Is there a single API for getting the CFString representation of
the name of a file system object represented by an FSRef?
I know all about CFStringCreateWithCharacters and
CFStringGetFileSystemRepresentation but was wondering if there was
a single API to do it.
Depends. If you want the actual file system name, no. You'll need to
get the name with either FSGetCatalogInfo and convert it. If you can
use LSCopyDisplayNameForRef, then yes.
Larry
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden