From 010eadf90806546b045ffc9383eb13f3b6b9dcd3 Mon Sep 17 00:00:00 2001 From: Ivan Leo Puoti Date: Mon, 23 May 2005 09:54:02 +0000 Subject: [PATCH] Added some structs to ntddscsi.h. --- include/ntddscsi.h | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/include/ntddscsi.h b/include/ntddscsi.h index 222969cf203..de81a8402c6 100644 --- a/include/ntddscsi.h +++ b/include/ntddscsi.h @@ -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