cwbSV_GetErrCount

Purpose

Returns the number of messages associated with the error handle provided.

Syntax

 
unsigned int CWB_ENTRY cwbSV_GetErrCount(
                             cwbSV_ErrHandle  errorHandle,
                             unsigned long   *errorCount);

Parameters

cwbSV_ErrHandle errorHandle - input
Handle that was returned by a previous call to the cwbSV_CreateErrHandle() function.
unsigned long * errorCount - input/output
Pointer to variable that receives the number of messages associated with this error handle. If zero is returned, no errors are associated with the error 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.

Usage

None