Retrieves congestion level activity statistics from the SCCP service.
DWORD SCCPGetStats ( CTAHD ctahd, SccpStats *stats, U8 bReset)
Argument |
Description |
ctahd |
Natural Access handle returned by ctaCreateContext. |
stats |
Pointer to a user-supplied SccpStats structure: typedef struct _SCCP_STAT
|
bReset |
If non-zero, statistics are set to zero after retrieval. |
Return value |
Description |
SCCP_SUCCESS |
|
SCCPERR_DRIVER |
Statistics could not be retrieved from the Natural Access service. |
SCCPERR_RESOURCES |
Number of available buffers is exhausted. |
CTAERR_BAD_ARGUMENT |
One or more arguments are invalid. |
CTAERR_INVALID_CTAHD |
Natural Access handle is invalid. |
This function returns SCCP service statistics for the Natural Access handle provided.
Refer to Handling congestion events for more information.