Virtuozzo Virtualization SDK C API Reference
|
Reverts a virtual disk to the specified snapshot.
PRL_RESULT PrlDisk_SwitchToState( const PRL_HANDLE Handle, PRL_CONST_STR pDirectoryName, PRL_CONST_GUID_PTR pUid, const PRL_STATES_CALLBACK pCallback, PRL_VOID_PTR pParameter );
PrlDisk.h
PRL_RESULT. Possible values:
PRL_ERR_INVALID_ARG - invalid argument values.
PRL_ERR_SUCCESS - function completed successfully.
PrlDisk_CreateState
PrlDisk_DeleteState
PrlDisk_GetSnapshotsTree