Collapse All
Virtuozzo Virtualization SDK C API Reference
ContentsIndex
PreviousUpNext
PrlApi_CreateProblemReport Function
System Functions

Creates and returns a handle of type PHT_PROBLEM_REPORT, which is used to obtain and manage Virtuozzo problem reports.

Syntax
PRL_RESULT PrlApi_CreateProblemReport(
    PRL_PROBLEM_REPORT_SCHEME nReportScheme, 
    PRL_HANDLE_PTR phProblemReport
);
File

PrlApiCore.h

Parameters

nReportScheme
[in] the type of report that will be generated (XML based or new packed form).
phProblemReport
[out] A pointer to a variable that receives the handle.

Returns

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. 

Links
Copyright ©2016-2017 Parallels International GmbH. All rights reserved.