HGE::Resource_EnumFolders
Enumerates folders by given wildcard.
char *Resource_EnumFolders(
const char *wildcard = 0
);
Parameters
- wildcard
- Absolute or relative wildcard including "?" and "*" special characters
to start new enumeration, or 0 to continue previously started enumeration.
Return value
Returns the next found folder name or 0 if there's no more folders.
Remarks
Resource_EnumFolders returns plain folder names without their path.
It also skips files, use
Resource_EnumFiles to enumerate files.
To enumerate all folders within some location use "*" wildcard character.
Eg. Resource_EnumFolders("data\*") will start enumeration of all folders
within folder "data" that is placed in the application folder.
Requirements
Header: hge.h
Import library: hge.lib
See also
Resource_EnumFiles,
Resource_MakePath
|