SECFileSystem::GetDirectoryEntry
CString *SECFileSystem::GetDirectoryEntry(const CString&Wildcard= "", const unsigned longeFileAttrib= normal)
Returns a single directory entry.
Defined in: filesys.cpp
Return Value
The name of a file in the current directory or a directory specified in Wildcard.
Comments
To return the next directory entry based on a wildcard, etc.
Example
Get the first filename matching *.txt
CString *pFileName = fs.GetDirectoryEntry("*.txt", CFileSystem::normal);
Get the second filename matching *.txt
CString *pFileName = fs.GetDirectoryEntry();
Parameters
Wildcard
The wildcard to use.
eFileAttrib
The file attributes filter. (See Attribute).
Developer Notes
The CString returned by GetDirectoryEntry() must be deleted by the user.
See Also