INBOX_EVENT_DATA (Compact 2013)

3/26/2014

This structure describes events that the default object push server implementation is not programmed 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

See Also

Reference

OBEX Structures
IHeaderCollection

Other Resources

IStream