Reads the contents of a directory.
Path to the directory.
The variable where to store the result of the operation.
Reads the contents of a directory.