Compartilhar via


TRANSPORTEVENT

4/8/2010

The TRANSPORTEVENT structure 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.
  • hr
    HRESULT value 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::DecodeEvent method is called, it is passed the same TRANSPORTEVENT structure that it used when calling the IMailSyncCallBack::LogEvent method.

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

Reference

MAPI Structures
IMailSyncCallBack::LogEvent
IMailSyncHandler::DecodeEvent

Other Resources

Messaging