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.

55 lines
1.3 KiB

  1. /*
  2. ************************************************************************
  3. *
  4. * DONGLE.h
  5. *
  6. *
  7. * Portions Copyright (C) 1996-1998 National Semiconductor Corp.
  8. * All rights reserved.
  9. * Copyright (C) 1996-1998 Microsoft Corporation. All Rights Reserved.
  10. *
  11. *
  12. *
  13. *************************************************************************
  14. */
  15. #ifndef DONGLE_H
  16. #define DONGLE_H
  17. #define NDIS_IRDA_SPEED_2400 (UINT)(1 << 0) // SLOW IR ...
  18. #define NDIS_IRDA_SPEED_9600 (UINT)(1 << 1)
  19. #define NDIS_IRDA_SPEED_19200 (UINT)(1 << 2)
  20. #define NDIS_IRDA_SPEED_38400 (UINT)(1 << 3)
  21. #define NDIS_IRDA_SPEED_57600 (UINT)(1 << 4)
  22. #define NDIS_IRDA_SPEED_115200 (UINT)(1 << 5)
  23. #define NDIS_IRDA_SPEED_576K (UINT)(1 << 6) // MEDIUM IR ...
  24. #define NDIS_IRDA_SPEED_1152K (UINT)(1 << 7)
  25. #define NDIS_IRDA_SPEED_4M (UINT)(1 << 8) // FAST IR
  26. typedef struct dongleCapabilities {
  27. /*
  28. * This is a mask of NDIS_IRDA_SPEED_xxx bit values.
  29. *
  30. */
  31. UINT supportedSpeedsMask;
  32. /*
  33. * Time (in microseconds) that must transpire between
  34. * a transmit and the next receive.
  35. */
  36. UINT turnAroundTime_usec;
  37. /*
  38. * Extra BOF (Beginning Of Frame) characters required
  39. * at the start of each received frame.
  40. */
  41. UINT extraBOFsRequired;
  42. } dongleCapabilities;
  43. #endif DONGLE_H