Reads the current directory entry as a local filename, then moves to the
next file.
Note: Both the '.' and '..' automatic directory entries will be retrieved.
native bool GetNext(char[] buffer, int maxlength, FileType& type = FileType_Unknown)
Parameters
char[] buffer
String buffer to hold directory name.
int maxlength
Maximum size of string buffer.
FileType& type
Optional variable to store the file type.
Return Value
bool True on success, false if there are no more files to read.