gec2410开发板和PC机用USB连接

源代码在线查看: bulkusb.h

软件大小: 926 K
上传用户: a974555392
关键词: 2410 gec USB PC机
下载地址: 免注册下载 普通下载 VIP

相关代码

				/*++
				
				Copyright (c) 1997-1998  Microsoft Corporation
				
				Module Name:
				
				    BulkUsb.h
				
				Abstract:
				
				    Driver-defined special IOCTL's    
				
				Environment:
				
				    Kernel & user mode
				
				Notes:
				
				  THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
				  KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
				  IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR
				  PURPOSE.
				
				  Copyright (c) 1997-1998 Microsoft Corporation.  All Rights Reserved.
				Revision History:
				
					11/17/97: created
				
				--*/
				
				#ifndef BULKUSBH_INC
				#define BULKUSBH_INC
				
				#define BULKUSB_IOCTL_INDEX  0x0000
				
				
				#define IOCTL_BULKUSB_GET_CONFIG_DESCRIPTOR     CTL_CODE(FILE_DEVICE_UNKNOWN,  \
				                                                   BULKUSB_IOCTL_INDEX,\
				                                                   METHOD_BUFFERED,  \
				                                                   FILE_ANY_ACCESS)
				                                                   
				#define IOCTL_BULKUSB_RESET_DEVICE   CTL_CODE(FILE_DEVICE_UNKNOWN,  \
				                                                   BULKUSB_IOCTL_INDEX+1,\
				                                                   METHOD_BUFFERED,  \
				                                                   FILE_ANY_ACCESS)                                                              
				                                                   
				#define IOCTL_BULKUSB_RESET_PIPE  CTL_CODE(FILE_DEVICE_UNKNOWN,  \
				                                                   BULKUSB_IOCTL_INDEX+2,\
				                                                   METHOD_BUFFERED,  \
				                                                   FILE_ANY_ACCESS)                                                           
				
				
				#endif // end, #ifndef BULKUSBH_INC
				
				
							

相关资源