Source code of Windows XP (NT5)
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.

87 lines
2.1 KiB

  1. /*++
  2. Copyright (c) 1996-1998 Microsoft Corporation
  3. Module Name:
  4. IOCTL.H
  5. Abstract:
  6. Header file for I82930 driver
  7. Environment:
  8. kernel and user mode
  9. Revision History:
  10. 06-01-98 : started rewrite
  11. --*/
  12. //*****************************************************************************
  13. // D E F I N E S
  14. //*****************************************************************************
  15. // {0B677572-2B5B-46c7-B1F3-D140A341888C}
  16. DEFINE_GUID(GUID_CLASS_I82930,
  17. 0xb677572, 0x2b5b, 0x46c7, 0xb1, 0xf3, 0xd1, 0x40, 0xa3, 0x41, 0x88, 0x8c);
  18. #define I82930_IOCTL_INDEX 0x0000
  19. #define IOCTL_I82930_GET_DEVICE_DESCRIPTOR \
  20. CTL_CODE(FILE_DEVICE_UNKNOWN, \
  21. I82930_IOCTL_INDEX+0,\
  22. METHOD_BUFFERED, \
  23. FILE_ANY_ACCESS)
  24. #define IOCTL_I82930_GET_CONFIG_DESCRIPTOR \
  25. CTL_CODE(FILE_DEVICE_UNKNOWN, \
  26. I82930_IOCTL_INDEX+1,\
  27. METHOD_BUFFERED, \
  28. FILE_ANY_ACCESS)
  29. #define IOCTL_I82930_SET_CONFIG_DESCRIPTOR \
  30. CTL_CODE(FILE_DEVICE_UNKNOWN, \
  31. I82930_IOCTL_INDEX+2,\
  32. METHOD_BUFFERED, \
  33. FILE_ANY_ACCESS)
  34. #define IOCTL_I82930_GET_PIPE_INFORMATION \
  35. CTL_CODE(FILE_DEVICE_UNKNOWN, \
  36. I82930_IOCTL_INDEX+3,\
  37. METHOD_BUFFERED, \
  38. FILE_ANY_ACCESS)
  39. #define IOCTL_I82930_RESET_PIPE \
  40. CTL_CODE(FILE_DEVICE_UNKNOWN, \
  41. I82930_IOCTL_INDEX+4,\
  42. METHOD_BUFFERED, \
  43. FILE_ANY_ACCESS)
  44. #define IOCTL_I82930_STALL_PIPE \
  45. CTL_CODE(FILE_DEVICE_UNKNOWN, \
  46. I82930_IOCTL_INDEX+5,\
  47. METHOD_BUFFERED, \
  48. FILE_ANY_ACCESS)
  49. #define IOCTL_I82930_ABORT_PIPE \
  50. CTL_CODE(FILE_DEVICE_UNKNOWN, \
  51. I82930_IOCTL_INDEX+6,\
  52. METHOD_BUFFERED, \
  53. FILE_ANY_ACCESS)
  54. #define IOCTL_I82930_RESET_DEVICE \
  55. CTL_CODE(FILE_DEVICE_UNKNOWN, \
  56. I82930_IOCTL_INDEX+7,\
  57. METHOD_BUFFERED, \
  58. FILE_ANY_ACCESS)
  59. #define IOCTL_I82930_SELECT_ALTERNATE_INTERFACE \
  60. CTL_CODE(FILE_DEVICE_UNKNOWN, \
  61. I82930_IOCTL_INDEX+8,\
  62. METHOD_BUFFERED, \
  63. FILE_ANY_ACCESS)