Virtuozzo Virtualization SDK C API Reference
|
Sets the size of the specified virtual hard disk.
PRL_RESULT PrlVmDevHd_SetDiskSize( PRL_HANDLE hVmDev, PRL_UINT32 nDiskSize );
PrlApiVm.h
PRL_RESULT. Possible values:
PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed.
PRL_ERR_SUCCESS - function completed successfully.
Use this function when adding a new virtual hard disk or when modifying the size of an existing disk.