Automatically generates a unique name for a new directory.
PRL_HANDLE PrlSrv_FsGenerateEntryName( PRL_HANDLE hServer, PRL_CONST_STR sDirPath, PRL_CONST_STR sFilenamePrefix, PRL_CONST_STR sFilenameSuffix, PRL_CONST_STR sIndexDelimiter );
PrlApiDisp.h
A handle of type PHT_JOB containing the results of this asynchronous operation or PRL_INVALID_HANDLE if there's not enough memory to instantiate the job object.
The function allows to generate directory names using a specified prefix and optionally a suffix. You can specify your own prefix or use the default one. The function will not create the directories on the host. To create the directories, use the PrlSrv_FsCreateDir function.
To get the return code from the PHT_JOB object, use the PrlJob_GetRetCode function. Possible values are:
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: