Returns the code associated with the event.
PRL_RESULT PrlEvent_GetErrCode( PRL_HANDLE hEvent, PRL_RESULT_PTR pnErrCode );
PrlApiCore.h
PRL_RESULT. Possible values:
PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed.
PRL_ERR_SUCCESS - function completed successfully.