HrMonCollectNDRStats

The HrMonCollectNDRStats function builds statistics on the number of nondelivery reports (NDRs) produced by the gateway.

Quick Info

Header file: MONITOR.H
Library: MONITOR.LIB

HRESULT HrMonCollectNDRStats(
  DWORD cNDRs,       
  DIRECTIONTYPE dir  
);
 

Parameters

cNDRs
Input parameter. Number of NDRs to be added to the current NDR statistics.
dir
Input parameter. Direction the messages were going:

DIRECTIONTYPE_IN

The message was received from a foreign system.

DIRECTIONTYPE_OUT

The message was sent to a foreign system.

Return Values

See Return Values.

Remarks

HrMonCollectNDRStats builds cumulative statistics on the number of NDRs produced by the gateway in each direction. It is typically called each time an NDR is produced.

For more information on this function, see Monitor Sampling Functions and the HrMonCollectNDRStats function in MONITOR.C under the MONITOR code sample in Code Samples folder.

See Also

HrMonCollectAssociationStats, HrMonCollectMessageXferStats, HrMonInit, HrMonUninit