You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
59 lines
945 B
59 lines
945 B
|
|
|
|
|
|
#define MAX_OBEX_DEVICES (64)
|
|
#if 0
|
|
|
|
#define MAX_DEVICE_NAME_LENGTH (64)
|
|
|
|
typedef enum {
|
|
TYPE_IRDA,
|
|
TYPE_IP
|
|
|
|
} OBEX_DEVICE_TYPE;
|
|
|
|
typedef struct _OBEX_DEVICE_SPECIFIC {
|
|
|
|
union {
|
|
|
|
struct {
|
|
|
|
ULONG DeviceId;
|
|
UCHAR Hint1;
|
|
UCHAR Hint2;
|
|
BOOL ObexSupport;
|
|
|
|
} Irda;
|
|
|
|
struct {
|
|
|
|
ULONG IpAddress;
|
|
USHORT Port;
|
|
|
|
} Ip;
|
|
};
|
|
|
|
} OBEX_DEVICE_SPECIFIC;
|
|
|
|
typedef struct _OBEX_DEVICE {
|
|
|
|
OBEX_DEVICE_TYPE DeviceType;
|
|
WCHAR DeviceName[MAX_DEVICE_NAME_LENGTH];
|
|
|
|
OBEX_DEVICE_SPECIFIC DeviceSpecific;
|
|
|
|
} OBEX_DEVICE, *POBEX_DEVICE;
|
|
|
|
|
|
|
|
|
|
|
|
typedef struct _OBEX_DEVICE_LIST {
|
|
|
|
ULONG DeviceCount;
|
|
|
|
OBEX_DEVICE DeviceList[1];
|
|
|
|
} OBEX_DEVICE_LIST, *POBEX_DEVICE_LIST;
|
|
|
|
#endif
|