Collapse All
Parallels C API Reference Guide
PrlShare_SetReadOnly Function
PrlApi.h PHT_SHARE See Also

Makes the specified shared folder read-only.

Syntax
PRL_RESULT PrlShare_SetReadOnly(
    PRL_HANDLE hVmShare, 
    PRL_BOOL bReadOnly
);
File
Parameters

hVmShare
A handle of type PHT_SHARE identifying the shared folder.
bReadOnly
Specify PRL_TRUE to make the share read-only. Specify PRL_FALSE to make the share editable.
Returns

PRL_RESULT . Possible values:

PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed.

PRL_ERR_SUCCESS - function completed successfully.

See Also
Links
Copyright © 1999-2011 Parallels Holdings, Ltd. and its affiliates. All rights reserved.
What do you think about this topic? Send feedback!