Sets necessary access permissions on a directory containing a virtual disk to make the disk accessible to other users.
PRL_RESULT PrlDisk_SetSharedDirectory( PRL_CONST_STR pDirectoryName );
PrlDisk.h
PRL_RESULT. Possible values:
PRL_ERR_INVALID_ARG - invalid argument values.
PRL_ERR_SUCCESS - function completed successfully.
The function sets the read-write-execute (or 666) permission on all files contained in the directory. This makes the virtual disk files contained in the directory (and consequently the virtual disk itself) accessible to other users.