Virtuozzo Virtualization SDK C API Reference
Retrieves information about the specified file system entry residing on the specified host computer.
The information retrieved by the PrlSrv_FsGetDirEntries function includes the information about the specified entry and, if the entry is a directory, the information about its immediate child entries (files and subdirectories). On Windows, you can also specify a drive letter, in which case the information about the root directory entries will be retrieved.
PRL_ERR_INVALID_ARG - invalid server handle was passed or invalid path was specified.
PRL_ERR_SUCCESS - function completed successfully.
To get the results from the PHT_JOB object: