ImageEn, unit iexWPD

TIEPortableDevices.LookupObjectFriendlyName

TIEPortableDevices.LookupObjectFriendlyName


Declaration

function LookupObjectFriendlyName(const sObjectID : WideString): WideString; overload;
function LookupObjectFriendlyName(const sDeviceID, sObjectID : WideString): WideString; overload;


Description

Returns the friendly name for a file or folder on a device.

Same as TIEWPDObject.FriendlyName. If sDeviceID is not specified it assumes the active device.


Example

// Display the current folder name
edtCurrentFolder.Text := IEPortableDevices.LookupObjectFriendlyName( IEPortableDevices.ActiveDeviceID, IEPortableDevices.ActiveFolderID );