Creates VM event that bint to current VM.
PRL_RESULT PrlVm_CreateEvent( PRL_HANDLE hVm, PRL_HANDLE_PTR phEvent );
PrlApiVm.h
PRL_RESULT. Possible values: PRL_ERR_INVALID_ARG - non valid PHT_VIRTUAL_MACHINE handle or non valid (null) pointer to buffer was specified PRL_ERR_OUT_OF_MEMORY - not enough memory to instantiate VM event object PRL_ERR_SUCCESS - operation completed successfully