Collapse All
Parallels Virtualization SDK
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
© 2021 Parallels International GmbH. All rights reserved.