1. 程式人生 > >遍歷Symbian某目錄下的所有檔案

遍歷Symbian某目錄下的所有檔案

const TDesC& aName

Name of the directory for which a listing is required. Wildcards may be used to specify particular files.

TUint

anEntryAttMask

Bitmask indicating the attributes of interest. Only files and directories whose attributes match those specified here can be included in the listing. For more information see KEntryAttMatchMask and the other directory entry details. Also see KEntryAttNormal and the other file or directory attributes.

TUint anEntrySortKey

Flag indicating the order in which the entries are to be sorted. This flag is defined in TEntryKey.

CDir*& anEntryList

On return contains a list of directory and file entries.