int DirNext(char *value, int len);
Gets the next filename in a directory search operation.
Returns a non-zero value if a file was found, zero otherwise.
Pointer to a buffer to receive the filename found.
The length of the buffer pointed to.
DirNext() will return the name of the next file in a search operation.
Available in DragonFireSDK 1.4 and later.
The example below enumerates the files in the Documents directory and prints them to the console.
while (DirNext(FileName, 100))
printf("Found file: %s\n", FileName);