Collapse All
Parallels Virtualization SDK
PrlVm_CancelCompact Function
PHT_VIRTUAL_MACHINE

Finishes process of optimization of virtual hard disk.

Syntax
PRL_HANDLE PrlVm_CancelCompact(
    PRL_HANDLE hVm
);
File

PrlApiVm.h

Parameters

handle
valid PRL_HANDLE describing the virtual machine
Returns

PRL_HANDLE to job that describing async operation result ( PRL_INVALID_HANDLE means not enough memory to instantiate async job represents object handle). Operation return code can be extracted with @ref PrlJob_GetRetCode () call. Possible values: PRL_ERR_INVALID_ARG - non valid PHT_VIRTUAL_MACHINE handle was passed PRL_ERR_UNINITIALIZED - unexpected error: uninitialized with server connection or non identified VM object

Remarks

The machine should be registered on the server to do that.

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