MS scsi2 C++ code,

时间:2012-10-18 10:02:04
【文件属性】:

文件名称:MS scsi2 C++ code,

文件大小:9KB

文件格式:RAR

更新时间:2012-10-18 10:02:04

scsi

学习下MS写的code的风格 // // Copyright (c) Microsoft Corporation. All rights reserved. // // // Use of this source code is subject to the terms of the Microsoft end-user // license agreement (EULA) under which you licensed this SOFTWARE PRODUCT. // If you did not accept the terms of the EULA, you are not authorized to use // this source code. For a copy of the EULA, please see the LICENSE.RTF on your // install media. // /*++ 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. Module Name: scsi2.c Abstract: Scsi2 Interface for USB Disk Class bInterfaceSubClass = 0x02 : SFF8020i (ATAPI) CD-ROM bInterfaceSubClass = 0x04 : USB Floppy Interface (UFI) bInterfaceSubClass = 0x06 : SCSI Passthrough This code basically builds a SCSI2 Command Descriptor Block (CDB) for transport via the USB Mass Storage Class. --*/


【文件预览】:
scsi2.c

网友评论