Collapse All
Virtuozzo Virtualization SDK C API Reference
ContentsIndex
PreviousUpNext
PrlHandle_RegEventHandler Function
Handle Functions

Registers event handler.

Syntax
PRL_RESULT PrlHandle_RegEventHandler(
    PRL_HANDLE hObj, 
    PRL_EVENT_HANDLER_PTR handler, 
    PRL_VOID_PTR userData
);
File

PrlApiCore.h

Parameters

hObj
handler
[in] User defined function that will be called for each event.
userData
[in] User defined data that will be passed to handler.

Returns

PRL_RESULT. Possible values: PRL_ERR_UNINITIALIZED - SDK was not properly initialized. PRL_ERR_INVALID_ARG - specified arguments are invalid. PRL_ERR_OUT_OF_MEMORY - not enough memory. PRL_ERR_SUCCESS - function completed successfully.

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