Platform SDK: Exchange Server

HrMonCollectMessageXferStats

The HrMonCollectMessageXferStats function builds statistics on the number of messages traveling through the gateway.

Quick Info

Header file: MONITOR.H
Library: MONITOR.LIB

HRESULT HrMonCollectMessageXferStats(
  DWORD cMessages,  
  DWORD cBytes,     
  DIRECTIONTYPE dir 
);
 

Parameters

cMessages
Input parameter. Number of messages transferred.
cBytes
Input parameter. Number of bytes transferred.
dir
Input parameter. Direction of the transfer:
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

HrMonCollectMessageXferStats builds cumulative statistics on the messages transferred through the gateway.

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

See Also

HrMonCollectAssociationStats, HrMonCollectNDRStats, HrMonInit, HrMonUninit