Collapse All
Parallels Virtualization SDK
PrlEvent_GetServer Function
PHT_EVENT

Obtains a handle of type PHT_SERVER identifying the Parallels Service that generated the event.

Syntax
PRL_RESULT PrlEvent_GetServer(
    PRL_HANDLE hEvent, 
    PRL_HANDLE_PTR server
);
File

PrlApiCore.h

Parameters

hEvent
A handle of type PHT_EVENT identifying the event.
server
[out] A pointer to a variable that receives the server handle.
Returns

PRL_RESULT . Possible values:

PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed.

PRL_ERR_SUCCESS - function completed successfully.

Remarks

When processing an event inside a callback function (event handler) this function is the only way to get the server handle.

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