Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
4/8/2010

The TRANSPORTEVENTstructure describes an error or warning event encountered by the transport.

Syntax

struct {
  LPCWSTR 
pszSourceDLL;
  LPCWSTR 
pszSourceProfile;
  HRESULT 
hr;
  DWORD 
dwSeverity;
  DWORD 
cbData;
  LPBYTE 
pbData;
} TRANSPORTEVENT;

Members

pszSourceDLL

The transport's source DLL.

pszSourceProfile

The profile string that the transport was passed in through the IMailSyncHandler::Initializemethod.

hr

HRESULTvalue corresponding to the error.

dwSeverity

Severity of the error; not used by Messaging.

cbData

Count of bytes pointed to by pbData.

pbData

Extra data that transport can store away for its own use.

Remarks

When the transport's IMailSyncHandler::DecodeEventmethod is called, it is passed the same TRANSPORTEVENTstructure that it used when calling the IMailSyncCallBack::LogEventmethod.

Requirements

Header cemapi.h
Windows Embedded CE Windows CE 3.0 and later
Windows Mobile Pocket PC 2002 and later, Smartphone 2002 and later

See Also