Leaked source code of windows server 2003
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

  1. #define MAX_OBEX_DEVICES (64)
  2. #if 0
  3. #define MAX_DEVICE_NAME_LENGTH (64)
  4. typedef enum {
  5. TYPE_IRDA,
  6. TYPE_IP
  7. } OBEX_DEVICE_TYPE;
  8. typedef struct _OBEX_DEVICE_SPECIFIC {
  9. union {
  10. struct {
  11. ULONG DeviceId;
  12. UCHAR Hint1;
  13. UCHAR Hint2;
  14. BOOL ObexSupport;
  15. } Irda;
  16. struct {
  17. ULONG IpAddress;
  18. USHORT Port;
  19. } Ip;
  20. };
  21. } OBEX_DEVICE_SPECIFIC;
  22. typedef struct _OBEX_DEVICE {
  23. OBEX_DEVICE_TYPE DeviceType;
  24. WCHAR DeviceName[MAX_DEVICE_NAME_LENGTH];
  25. OBEX_DEVICE_SPECIFIC DeviceSpecific;
  26. } OBEX_DEVICE, *POBEX_DEVICE;
  27. typedef struct _OBEX_DEVICE_LIST {
  28. ULONG DeviceCount;
  29. OBEX_DEVICE DeviceList[1];
  30. } OBEX_DEVICE_LIST, *POBEX_DEVICE_LIST;
  31. #endif