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.

49 lines
1.5 KiB

  1. /*++
  2. Copyright (c) 2000 Microsoft Corporation
  3. Module Name:
  4. sSUsr.h
  5. Abstract:
  6. Environment:
  7. Kernel mode
  8. Notes:
  9. Copyright (c) 2000 Microsoft Corporation.
  10. All Rights Reserved.
  11. --*/
  12. #ifndef _BULKUSB_USER_H
  13. #define _BULKUSB_USER_H
  14. #include <initguid.h>
  15. // {6068EB61-98E7-4c98-9E20-1F068295909A}
  16. DEFINE_GUID(GUID_CLASS_I82930_BULK,
  17. 0x873fdf, 0x61a8, 0x11d1, 0xaa, 0x5e, 0x0, 0xc0, 0x4f, 0xb1, 0x72, 0x8b);
  18. #define BULKUSB_IOCTL_INDEX 0x0000
  19. #define IOCTL_BULKUSB_GET_CONFIG_DESCRIPTOR CTL_CODE(FILE_DEVICE_UNKNOWN, \
  20. BULKUSB_IOCTL_INDEX, \
  21. METHOD_BUFFERED, \
  22. FILE_ANY_ACCESS)
  23. #define IOCTL_BULKUSB_RESET_DEVICE CTL_CODE(FILE_DEVICE_UNKNOWN, \
  24. BULKUSB_IOCTL_INDEX + 1, \
  25. METHOD_BUFFERED, \
  26. FILE_ANY_ACCESS)
  27. #define IOCTL_BULKUSB_RESET_PIPE CTL_CODE(FILE_DEVICE_UNKNOWN, \
  28. BULKUSB_IOCTL_INDEX + 2, \
  29. METHOD_BUFFERED, \
  30. FILE_ANY_ACCESS)
  31. #endif