Collapse All
Virtuozzo Virtualization SDK C API Reference
ContentsIndex
PreviousUpNext
PrlVm_InitiateDevStateNotifications Function
PHT_VIRTUAL_MACHINE

This method lets to initiate sending notifications about devices states by VM.

Syntax
PRL_HANDLE PrlVm_InitiateDevStateNotifications(
    PRL_HANDLE hVm
);
File

PrlApiVm.h

Parameters

handle
A handle of type PHT_VIRTUAL_MACHINE identifying 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 the Virtuozzo Service connection or non identified VM object

Remarks

Those notifications have to be same as notifications after changing a device state

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