Obtains a handle of type PHT_VIRTUAL_MACHINE referencing the virtual machine that generated the event.
PRL_RESULT PrlEvent_GetVm( PRL_HANDLE hEvent, PRL_HANDLE_PTR pVm );
PRL_RESULT . Possible values:
PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed.
PRL_ERR_SUCCESS - function completed successfully.
When processing an event inside a callback function (event handler) this function is the only way to get the virtual machine handle.
Copyright (c) 1999-2008 Parallels Software International Inc.
|
What do you think about this topic?
Send feedback!
|