Creates and returns a handle of type PHT_PROBLEM_REPORT, which is used to obtain and manage Virtuozzo problem reports.
PRL_RESULT PrlApi_CreateProblemReport( PRL_PROBLEM_REPORT_SCHEME nReportScheme, PRL_HANDLE_PTR phProblemReport );
PrlApiCore.h
PRL_RESULT. Possible values:
PRL_ERR_INVALID_ARG - null pointer or unknown report scheme was passed.
PRL_ERR_OUT_OF_MEMORY - not enough memory to create the problem report object.
PRL_ERR_SUCCESS - function completed successfully.