Platform SDK: Exchange Server

RPC_GATEWAY_TRACK_INFORMATION

The RPC_GATEWAY_TRACK_INFORMATION structure contains tracking information that a gateway produces as objects move through the mail system.

Quick Info

Header file: RPCPUB.H

typedef struct
{
  RPC_INT         nEventType;
  RPC_SYSTEMTIME  stEvent;
  RPC_SZ          szGatewayName;
  RPC_SZ          szPartner;
  RPC_SZ          szMTSID;
  RPC_SZ          szRemoteID;
  RPC_SZ          szOriginator;
  RPC_INT         nPriority;
  RPC_INT         nLength;
  RPC_INT         nSeconds;
  RPC_INT         nCost;
  RPC_SZ          szSubjectID;
  }  RPC_GATEWAY_TRACK_INFORMATION;

Members

nEventType
The type of event to track. Note: Other events are defined in the header file, but not tracked in this release.
tevtMessageBackboneTransferIn
Track messages that came in through a backbone.
tevtMessageBackboneTransferOut
Track messages that went out through a backbone.
tevtMessageGatewayTransferIn
Track messages that go to the outside world.
tevtMessageGatewayTransferOut
Track messages that come in from the outside world.
tevtReportGatewayGenerated
Track messages that generated a report.
tevtReportTransferIn
Track messages that come in from the outside world.
tevtReportTransferOut
Track messages that go to the outside world.
stEvent
The system time when the event occurred.
szGatewayName
The distinguished name of the gateway where the event occurred.
szPartner
The distinguished name of the server to or from which the message was transferred.
szMTSID
The Microsoft Exchange Server MTSID (message transfer system identifier) of the message or report.
szRemoteID
The gateway side identifier of the message or report.
szOriginator
The distinguished name (or possibly proxy address) of the message originator.
nPriority
The message priority:
PRIO_URGENT
PRIO_NORMAL
PRIO_NONURGENT
nLength
The size, in bytes, of the message.
nSeconds
The transfer duration, in seconds. This is typically used by a FAX gateway.
nCost
Informational member.
szSubjectID
The Microsoft Exchange Server identifier of the message for report-related events.

Remarks

For an example of how to use this structure, see the HrTrackWriteLogW function call in the EDKTRACK.C code sample.

See Also

SAD_ScSaveGatewayTrackingData