Platform SDK: Exchange Server

HrTraceCopyEntry

The HrTraceCopyEntry function saves trace entry information in a trace entry structure.

Quick Info

Header file: EDKMAPI.H
Library: EDKMAPI.LIB

HRESULT HrTraceCopyEntry(
  LONG lAction,           
  FILETIME ftArrivalTime,  
  FILETIME ftDeferredTime,  
  LPSTR lpszADMDName,     
  LPSTR lpszCountryName,  
  LPSTR lpszPRMDId,       
  LPSTR lpszAttADMDName,  
  LPSTR lpszAttCountryName,  
  LPSTR lpszAttPRMDId,    
  LPTRACEENTRY lpTraceEntry  
);
 

Parameters

lAction
Input parameter. The routing action the tracing site took.
ftArrivalTime
Input parameter. The time at which the communique entered the tracing site.
ftDeferredTime
Input parameter. The time at which the tracing site released the message.
lpszADMDName
Input parameter. ADMD name.
lpszCountryName
Input parameter. Country name.
lpszPRMDId
Input parameter. PRMD identifier.
lpszAttADMDName
Input parameter. Attempted ADMD name.
lpszAttCountryName
Input parameter. Attempted Country name.
lpszAttPRMDId
Input parameter. Attempted PRMD identifier.
lpTraceEntry
Output parameter. Points to a TRACEENTRY structure containing trace entry information.

Return Values

See Return Values.

Remarks

You should ensure that ftArrivalTime is less than ftDeferredTime.

For more information on this function, see the HrTraceCopyEntry function in ITRACE.C under the EDKMAPI code sample in the Code Samples folder.

See Also

HrTraceGetEntryList, HrTraceGotoEntry, HrTraceGotoFirstEntry, HrTraceGotoNextEntry, HrTraceOpenEntry