Evaluates a return code and returns a description of the problem.
PRL_RESULT PrlApi_GetResultDescription( PRL_RESULT nErrCode, PRL_BOOL bIsBriefMessage, PRL_BOOL bFormated, PRL_STR sErrString, PRL_UINT32_PTR pnErrStringBufLength );
PrlApiCore.h
PRL_RESULT . Possible values are:
PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed.
PRL_ERR_BUFFER_OVERRUN - the size of the output buffer is not large enough. The parameter that is used to specify the size will contain the required size.
PRL_ERR_SUCCESS - function completed successfully.
All synchronous functions in the Parallels API return PRL_RESULT - a numeric return code used to evaluate the success or failure of the operation. If the return code indicates a failure, the PrlApi_GetResultDescription function can be used to obtain the description of the problem.