Collapse All
Parallels Virtualization SDK
PrlDisk_SetSharedDirectory_Local Function
PHT_VIRTUAL_DISK See Also

Sets necessary access permissions on a directory containing a virtual disk to make the disk accessible to other users.

Syntax
PRL_RESULT PrlDisk_SetSharedDirectory_Local(
    PRL_CONST_STR pDirectoryName
);
File

PrlDisk.h

Parameters

pDirectoryName
Directory name in UTF-8 format.
Returns

PRL_RESULT . Possible values:

PRL_ERR_INVALID_ARG - invalid argument values.

PRL_ERR_SUCCESS - function completed successfully.

Remarks

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. This function can be used locally, without establishing a Parallels Service connection.

See Also
Links
Copyright © 1999-2017 Parallels International GmbH. All rights reserved.