Partager via


INBOX_EVENT_DATA

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This structure describes events that the default object push server implementation does not know how to handle.

Syntax

typedef struct _INBOX_EVENT_DATA {
  DWORD dwRequest;
  DWORD dwInboxEvent;
  LPCWSTR pszName;
  LPCWSTR pszInboxDestination;
  IHeaderCollection* pHeaderCol;
  IStream* pStream;
} INBOX_EVENT_DATA, *PINBOX_EVENT_DATA;

Members

  • dwRequest
    Identifies the request as a get or a put.
  • dwInboxEvent
    Identifies the event type.

    If dwInboxEvent is equal to IE_MIME, the pszName member points to a Unicode string containing the specified MIME type.

    If dwInboxEvent is IE_SYNC, the pszName member contains the string passed by the client in the name header.

  • pszName
    Identifies the name of the object to push or pull.
  • pszInboxDestination
    Specifies the current default location of the object push server. The receiver uses this information to determine where to save or retrieve data.
  • pHeaderCol
    Pointer to an IHeaderCollection interface that contains headers passed in by the client. If this pointer is non-NULL, it must be released, even if it is not used.
  • pStream
    Pointer to the IStream interface, which is used to send and receive data to the client. This parameter is only valid on get and put command requests. If this pointer is non-NULL, it must be released, even if it is not used.

Remarks

Third-party developers can extend the object push server to handle specific events so a new inbox implementation is not required.

Requirements

Header obex.h, obex.idl
Windows Embedded CE Windows CE .NET 4.0 and later
Windows Mobile Pocket PC 2002 and later, Smartphone 2002 and later

See Also

Reference

IHeaderCollection:IUnknown
OBEX Structures

Other Resources

IStream