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: Getting the 'finder displayed name' for a FSRef




On Oct 30, 2007, at 9:41 AM, Frank Vyncke wrote:

Hi,

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

This email sent to email@hidden
References: 
 >Getting the 'finder displayed name' for a FSRef (From: Frank Vyncke <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.