Partager via


OBEX_EVENT

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This enumeration is used to identify an event and its properties.

Syntax

typedef enum _OBEX_EVENT {
  OE_QUERY_PASSWORD = 0,
  OE_NEW_CONNECTION = OE_QUERY_PASSWORD + 1,
  OE_NEW_COMMAND = OE_NEW_CONNECTION + 1,
  OE_ABORT = OE_NEW_COMMAND + 1,
  OE_DISCONNECT = OE_ABORT + 1,
  OE_DEVICE_ARRIVAL = OE_DISCONNECT + 1,
  OE_DEVICE_DEPARTURE = OE_DEVICE_ARRIVAL + 1,
  OE_DEVICE_UPDATE = OE_DEVICE_DEPARTURE + 1
} OBEX_EVENT, *LPOBEX_EVENT;

Elements

  • OE_QUERY_PASSWORD
    Query password. Reserved for future use.
  • OE_NEW_CONNECTION
    New connection. Reserved for future use.
  • OE_NEW_COMMAND
    New command. Reserved for future use.
  • OE_ABORT
    Abort command. Reserved for future use.
  • OE_DISCONNECT
    Disconnect. Reserved for future use.
  • OE_DEVICE_ARRIVAL
    New device is available.
  • OE_DEVICE_DEPARTURE
    Device is no longer available.
  • OE_DEVICE_UPDATE
    State of the device has change.

Requirements

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

See Also

Reference

OBEX Enumerations

Other Resources

Object Exchange Protocol