Added some structs to ntddscsi.h.

This commit is contained in:
Ivan Leo Puoti 2005-05-23 09:54:02 +00:00 committed by Alexandre Julliard
parent 7153c8fa65
commit 010eadf908
1 changed files with 23 additions and 1 deletions

View File

@ -1,7 +1,8 @@
/*
* DDK definitions for scsi media access
* Definitions for scsi media access
*
* Copyright (C) 2002 Laurent Pinchart
* Copyright 2005 Ivan Leo Puoti
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@ -93,6 +94,27 @@ typedef struct _IO_SCSI_CAPABILITIES {
BOOLEAN AdapterUsesPio;
} IO_SCSI_CAPABILITIES, *PIO_SCSI_CAPABILITIES;
typedef struct _SCSI_BUS_DATA {
UCHAR NumberOfLogicalUnits;
UCHAR InitiatorBusId;
ULONG InquiryDataOffset;
} SCSI_BUS_DATA, *PSCSI_BUS_DATA;
typedef struct _SCSI_ADAPTER_BUS_INFO {
UCHAR NumberOfBuses;
SCSI_BUS_DATA BusData[1];
} SCSI_ADAPTER_BUS_INFO, *PSCSI_ADAPTER_BUS_INFO;
typedef struct _SCSI_INQUIRY_DATA {
UCHAR PathId;
UCHAR TargetId;
UCHAR Lun;
BOOLEAN DeviceClaimed;
ULONG InquiryDataLength;
ULONG NextInquiryDataOffset;
UCHAR InquiryData[1];
} SCSI_INQUIRY_DATA, *PSCSI_INQUIRY_DATA;
#ifdef __cplusplus
}
#endif