Reads the current directory entry as a local filename, then moves to the next file.
bool ReadDirEntry(Handle dir, char[] buffer, int maxlength, FileType& type)
Handle to a directory.
String buffer to hold directory name.
Maximum size of string buffer.
Optional variable to store the file type.
True on success, false if there are no more files to read.
Invalid or corrupt Handle.
Contents of buffers are undefined when returning false.
Both the '.' and '..' automatic directory entries will be retrieved for Windows and Linux.
This documentation was generated automatically using pawn-docgen written by xPaw for AlliedMods.