Virtuozzo Virtualization SDK C API Reference
Provides additional job error information.
If a job returned an error code (see PrlJob_GetRetCode), you may call this function to see if additional error information is available. If the information is available, the function returns with PRL_ERR_SUCCESS and obtains a handle of type PHT_EVENT containing the information. To extract the information from the object, use the PrlEvent_GetErrString function.