Opens a directory/folder for contents enumeration.
DirectoryListing OpenDirectory(const char path, bool use_valve_fs, const char valve_path_id)
Path to open.
If true, the Valve file system will be used instead. This can be used to find files existing in any of the Valve search paths, rather than solely files existing directly in the gamedir.
If use_valve_fs, a search path from gameinfo or NULL_STRING for all search paths.
A Handle to the directory, null on error.
Directories are closed with CloseHandle() or delete.
Directories Handles can be cloned.
OpenDirectory() supports the "file://" notation.