Collapse All
Parallels C API Reference Guide
PrlHandle_RegEventHandler Function
PrlApi.h Handle Functions

Registers event handler.

Syntax
PRL_RESULT PrlHandle_RegEventHandler(
    PRL_HANDLE hObj, 
    PRL_EVENT_HANDLER_PTR handler, 
    PRL_VOID_PTR userData
);
File
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 © 1999-2011 Parallels Holdings, Ltd. and its affiliates. All rights reserved.
What do you think about this topic? Send feedback!