isousr.h
上传用户:leituo004
上传日期:2014-11-03
资源大小:159k
文件大小:2k
源码类别:

驱动编程

开发平台:

Visual C++

  1. /*++
  2. Copyright (c) 2000  Microsoft Corporation
  3. Module Name:
  4.     isousr.h
  5. Abstract:
  6. Environment:
  7.     Kernel mode
  8. Notes:
  9.     Copyright (c) 2000 Microsoft Corporation.  
  10.     All Rights Reserved.
  11. --*/
  12. #ifndef _ISOUSB_USER_H
  13. #define _ISOUSB_USER_H
  14. #include <initguid.h>
  15. // {6068EB61-98E7-4c98-9E20-1F068295909A}
  16. DEFINE_GUID(GUID_CLASS_I82930_ISO, 
  17. 0xa1155b78, 0xa32c, 0x11d1, 0x9a, 0xed, 0x0, 0xa0, 0xc9, 0x8b, 0xa6, 0x8);
  18. #define ISOUSB_IOCTL_INDEX              0x0000
  19. #define IOCTL_ISOUSB_GET_CONFIG_DESCRIPTOR  CTL_CODE(FILE_DEVICE_UNKNOWN,     
  20.                                                      ISOUSB_IOCTL_INDEX,      
  21.                                                      METHOD_BUFFERED,         
  22.                                                      FILE_ANY_ACCESS)
  23.                                                    
  24. #define IOCTL_ISOUSB_RESET_DEVICE           CTL_CODE(FILE_DEVICE_UNKNOWN,     
  25.                                                      ISOUSB_IOCTL_INDEX + 1,  
  26.                                                      METHOD_BUFFERED,         
  27.                                                      FILE_ANY_ACCESS)
  28. #define IOCTL_ISOUSB_RESET_PIPE             CTL_CODE(FILE_DEVICE_UNKNOWN,     
  29.                                                      ISOUSB_IOCTL_INDEX + 2,  
  30.                                                      METHOD_BUFFERED,         
  31.                                                      FILE_ANY_ACCESS)
  32. #define IOCTL_ISOUSB_STOP_ISO_STREAM        CTL_CODE(FILE_DEVICE_UNKNOWN,     
  33.                                                      ISOUSB_IOCTL_INDEX + 3,  
  34.                                                      METHOD_BUFFERED,         
  35.                                                      FILE_ANY_ACCESS)
  36. #define IOCTL_ISOUSB_START_ISO_STREAM       CTL_CODE(FILE_DEVICE_UNKNOWN,     
  37.                                                      ISOUSB_IOCTL_INDEX + 4,  
  38.                                                      METHOD_BUFFERED,         
  39.                                                      FILE_ANY_ACCESS)
  40. #endif