15.1.4 Next

const char *Next()

Return the next file name sequentially in the directory scan. This function automatically advances the directory pointer. The returned value is a pointer to the local filename, i.e. without its directory prefix. Upon reaching the end of the directory, this function returns (const char*)0, and the OEDirectoryScan is closed.