Purpose
Returns the message class associated with the top-level (most recent) error
that is identified by the error handle that is provided.
Syntax
unsigned int CWB_ENTRY cwbSV_GetErrClass(
cwbSV_ErrHandle errorHandle,
unsigned long *errorClass);
Parameters
- cwbSV_ErrHandle errorHandle - input
- Handle that was returned by a previous call to the cwbSV_CreateErrHandle()
function.
- unsigned long * errorClass - output
- Pointer to a variable that will receive the error class that is stored
in the error that is identified by the handle.
Return Codes
The following list shows common return values.
- CWB_OK
- Successful completion.
- CWB_INVALID_POINTER
- NULL passed on output parameter.
- CWB_INVALID_HANDLE
- Handle is not valid.
- CWBSV_NO_ERROR_MESSAGES
- No error messages associated with error handle.