Category Sketches and sections, Object ProSecerror

Function ProSecerrorMsgGet


Description
Retrieves the error message from the ith entry in the error table.
Synopsis
#include <ProSecerror.h>
ProErrorProSecerrorMsgGet(
ProWSecerror UserErr
/* (In)
A pointer to the errors table.
*/
int ith
/* (In)
The number of the table entry.
*/
ProMsg PMsg
/* (Out)
A pointer to the message string, in a wide (4 bytes per a symbol) format. Because the string is static, the contents will change upon the next call.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully retrieved the information.
PRO_TK_BAD_INPUTSOne or more of the input arguments are invalid.

Manual References:

  1. Element Trees: Sections: Error Reporting
  2. Element Trees: Sections: Error Reporting

Sample Code References:

  1. pt_examples ( TestSecerr.c )
  2. pt_examples ( UtilSect.c )
  3. pt_examples ( UtilSect.c )
  4. pt_userguide ( Ug3DSection.c )
  5. pt_userguide ( UgSectModelCreate.c )
  6. pt_userguide ( UgSktFirstFeatureCreate.c )
  7. pt_userguide ( UgSktFirstFeatureRevCreate.c )