LAPICALL NextDirectoryEntry(LDB db, DirectoryPosition* pos);

Advances the position when iterating over a directory.

db specifies the current database.

pos specifies the current position.