HP Operations Manager for Windows

opcdata_report_error()


   #include opcapi.h

   char * opcdata_report_error (
           const int error_code      /* in */
                              );

Parameters

error_code
OPC_ERR_XXX error code.

Description

Returns the error text (description) relating to the given error code. On Novell NetWare systems, only the error number is returned in text form.

Note NOTE:
The memory allocated by this function must be freed by the caller.

Return Values

string
string contains error description

memory must be freed by caller

Versions

HPOM for Windows A.07.50 and later