We have an interesting 'problem'.
We want to show the name of an FSRef in our UI, but we want to
display it in
exactly the same way as the finder displays the name.
LaunchServices/LSInfo.h:
/*
* LSCopyDisplayNameForRef()
*
* Summary:
* Get the display name for an FSRef.
*
* Discussion:
* Return a copy of the display name for an FSRef. Takes into
* consideration whether this item has a hidden extension or not.
*
*/
extern OSStatus
LSCopyDisplayNameForRef(
const FSRef * inRef,
CFStringRef * outDisplayName)
AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER;
-eric
_______________________________________________
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