Platform SDK: Exchange Server

TRACEENTRY

The TRACEENTRY structure describes an action that a messaging domain took on a message. This structure is derived from the X.400 External Trace Entry class.

Quick Info

Header file: EDKMDB.H

typedef struct
{
  LONG      lAction;
  FILETIME  ftArrivalTime;
  FILETIME  ftDeferredTime;
  CHAR      rgchADMDName[MAX_ADMD_NAME_SIZ + ADMN_PAD];
  CHAR      rgchCountryName[MAX_COUNTRY_NAME_SIZ + COUNTRY_PAD];
  CHAR      rgchPRMDId[MAX_PRMD_NAME_SIZ + PRMD_PAD];
  CHAR      rgchAttADMDName[MAX_ADMD_NAME_SIZ + ADMN_PAD];
  CHAR      rgchAttCountryName[MAX_COUNTRY_NAME_SIZ + COUNTRY_PAD];
  CHAR      rgchAttPRMDId[MAX_PRMD_NAME_SIZ + PRMN_PAD];
}  TRACEENTRY, FAR * LPTRACEENTRY;

Members

lAction
The routing action taken by the tracing domain.
ftArrivalTime
The time when the message entered the tracing domain.
ftDeferredTime
The time when the tracing domain released the message.
rgchADMDName[MAX_ADMD_NAME_SIZ + ADMN_PAD]
The name of the tracing domain if it is an administration management domain (ADMD), or the ADMD to which the tracing domain is attached if it is a private management domain (PRMD).
rgchCountryName[MAX_COUNTRY_NAME_SIZ + COUNTRY_PAD]
The name of the country associated with the ADMD. These values are either three-digit X.121 codes, or two-character ISO 3166 codes.
rgchPRMDId[MAX_PRMD_NAME_SIZ + PRMD_PAD]
The name of the tracing domain if it is a PRMD.
rgchAttADMDName[MAX_ADMD_NAME_SIZ + ADMN_PAD]
The name of the domain to which the tracing domain attempted but failed to send the message. This and the other rgchAtt* attributes are set only when the lAction flag is MD_AC_REROUTED.
rgchAttCountryName[MAX_COUNTRY_NAME_SIZ + COUNTRY_PAD]
The name of the country associated with rgchAttADMDName.
rgchAttPRMDId[MAX_PRMD_NAME_SIZ + PRMN_PAD]
The name of the private management domain associated with rgchAttADMDName.

Remarks

For additional information on this structure, see Gateway Trace Information in the Gateway Programmer's Reference Guide. For an example of how to use this structure, see the HrTraceOpenEntry function call in the ITRACE.C code sample under the EDKMAPI topic.

See Also

HrTraceGoToEntry, HrTraceGoToFirstEntry, HrTraceGotoNextEntry, HrTraceOpenEntry, TRACEINFO