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.

58 lines
1.8 KiB

  1. /*++
  2. Copyright (c) 1996 Microsoft Corporation
  3. Module Name:
  4. ioctl.h
  5. Abstract:
  6. Environment:
  7. Kernel & user mode
  8. Revision History:
  9. 5-10-96 : created
  10. --*/
  11. #ifndef __IOCTL_H__
  12. #define __IOCTL_H__
  13. // make sure that USBDIAG ioctls do not get above 80 or they will
  14. // collide with USBLOOP ioctls
  15. #define USBDIAG_IOCTL_INDEX 0x0000
  16. #define IOCTL_USBDIAG_CHAP9_GET_DEVHANDLE CTL_CODE(FILE_DEVICE_UNKNOWN, \
  17. USBDIAG_IOCTL_INDEX,\
  18. METHOD_BUFFERED, \
  19. FILE_ANY_ACCESS)
  20. #define IOCTL_USBDIAG_CHAP9_CONTROL CTL_CODE(FILE_DEVICE_UNKNOWN, \
  21. USBDIAG_IOCTL_INDEX+1,\
  22. METHOD_BUFFERED, \
  23. FILE_ANY_ACCESS)
  24. #define IOCTL_USBDIAG_HIDP_GETCOLLECTION CTL_CODE(FILE_DEVICE_UNKNOWN, \
  25. USBDIAG_IOCTL_INDEX+2,\
  26. METHOD_BUFFERED, \
  27. FILE_ANY_ACCESS)
  28. #define IOCTL_USBDIAG_CONFIGURE_DEVICE CTL_CODE(FILE_DEVICE_UNKNOWN, \
  29. USBDIAG_IOCTL_INDEX+3,\
  30. METHOD_BUFFERED, \
  31. FILE_ANY_ACCESS)
  32. #define IOCTL_USBDIAG_GET_USBDI_VERSION CTL_CODE(FILE_DEVICE_UNKNOWN, \
  33. USBDIAG_IOCTL_INDEX+4,\
  34. METHOD_BUFFERED, \
  35. FILE_ANY_ACCESS)
  36. #endif // __IOCTL_H__