Collapse All
Parallels Virtualization SDK
ContentsIndex
PreviousUpNext
PrlDiskStorageParams_SetSize Function
PHT_VIRTUAL_DISK_STORAGE_PARAMS

Sets virtual disk storage size in sectors.

Syntax
PRL_RESULT PrlDiskStorageParams_SetSize(
    PRL_HANDLE hParams, 
    PRL_UINT64 nSize
);
File

PrlDisk.h

Parameters

hParams
[in] A handle of type PHT_VIRTUAL_DISK_STORAGE_PARAMS identifying the virtual disk storage object.
nSize
[in] Size in sectors.

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.