SECFileSystem::GetFileList

CStringList *SECFileSystem::GetFileList(const CString&SearchString, const unsigned longeFileAttrib)

Returns a list of files in the specified directory.

Defined in: filesys.cpp

Return Value

A list of files in the specified directory.

Parameters

SearchString

Path and wildcard to search for.

eFileAttrib

The file attributes to match (See  Attribute>.

Comments

Return a list of files given a search path and attribute.

This only searches the specified directory. Use  GetDirectory to recurse subdirectories. The filenames include the path.

Example

CStringList *pList = GetFileList("c:\\foo\\bar\\*.cpp", normal);

Developer Notes

You must delete the returned CStringList.

See Also

SECFileSystem  GetSubdirList  GetDirectory