Collapse All
Parallels Virtualization SDK
ContentsIndex
PreviousUpNext
PrlDiskStorageParams_GetReadOnly Function
PHT_VIRTUAL_DISK_STORAGE_PARAMS

Determines if the specified virtual disk storage image is Read only.

Syntax
PRL_RESULT PrlDiskStorageParams_GetReadOnly(
    PRL_HANDLE hParams, 
    PRL_BOOL_PTR pbReadOnly
);
File

PrlDisk.h

Parameters

hParams
[in] A handle of type PHT_VIRTUAL_DISK_STORAGE_PARAMS identifying the virtual disk storage object.
pbReadOnly
[out] A pointer to a variable that receives the result. PRL_TRUE indicates that the disk storage image is 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
© 2021 Parallels International GmbH. All rights reserved.