Retrieves congestion level activity statistics from the TCAP service. For more information, refer to TCAP service congestion.
DWORD TCAPGetApiStats ( CTAHD ctahd, TCAPAPISTATS *pStats, BOOL reset)
Argument |
Description |
ctahd |
Handle from ctaOpenServices. |
pStats |
Pointer to the address of the buffer where statistics are returned to the caller. typedef struct |
reset |
If set to TRUE, all statistics (but not current congestion level) are reset to zero after statistics are returned. |
Return value |
Description |
TCAP_SUCCESS |
|
CTAERR_BAD_ARGUMENT |
Natural Access handle is invalid, or the statistics buffer is set to NULL. |
CTAERR_INVALID_HANDLE |
Natural Access handle is invalid. |