SECFileSystem::GetSubdirList

CStringList *SECFileSystem::GetSubdirList(const CString&SearchDir, const BOOLbPathInName= TRUE)

Returns a list of directories in the specified directory.

Defined in: filesys.cpp

Return Value

A list of filenames.

Parameters

SearchDir

The directory to get the filenames from.

Comments

To return a list of subdirectories of another directory.

Example

CStringList *pDirs = fs.GetSubdirList("c:\\foo", FALSE);

bPathInName

Whether to prepend the path to the filenames in the list.

Developer Notes

You must delete the CStringList returned.

See Also

SECFileSystem  GetFileList  GetDirectory