Collapse All
Parallels Virtualization SDK
PrlDiskStorageParams_SetReadOnly Function
PHT_VIRTUAL_DISK_STORAGE_PARAMS

Specifies that the specified virtual disk storage image must be Read only.

Syntax
PRL_RESULT PrlDiskStorageParams_SetReadOnly(
    PRL_HANDLE hParams, 
    PRL_BOOL bReadOnly
);
File

PrlDisk.h

Parameters

hParams
[in] A handle of type PHT_VIRTUAL_DISK_STORAGE_PARAMS identifying the virtual disk storage object.
pbReadOnly
[in] PRL_TRUE indicates that the disk storage image must be Read only. PRL_FALSE indicates otherwise.
Returns

PRL_RESULT . Possible values are:

PRL_ERR_INVALID_ARG - Invalid handle or null pointer was passed. PRL_ERR_SUCCESS - Function completed successfully.

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