SCSI_BUS_DATA structure (ntddscsi.h)

The SCSI_BUS_DATA structure is used in conjunction with the IOCTL_SCSI_GET_INQUIRY_DATA request and the SCSI_ADAPTER_BUS_INFO structure to retrieve the SCSI inquiry data for all devices on a given SCSI bus.

Note  The SCSI port driver and SCSI miniport driver models may be altered or unavailable in the future. Instead, we recommend using the Storport driver and Storport miniport driver models.
 

Syntax

typedef struct _SCSI_BUS_DATA {
  UCHAR NumberOfLogicalUnits;
  UCHAR InitiatorBusId;
  ULONG InquiryDataOffset;
} SCSI_BUS_DATA, *PSCSI_BUS_DATA;

Members

NumberOfLogicalUnits

Contains the number of logical units on the bus for which inquiry data is being retrieved.

InitiatorBusId

Contains the SCSI bus ID for the adapter.

InquiryDataOffset

Contains an offset from the beginning of the SCSI_ADAPTER_BUS_INFO structure to the inquiry data.

Requirements

Requirement Value
Header ntddscsi.h (include Ntddscsi.h)

See also

IOCTL_SCSI_GET_INQUIRY_DATA

SCSI_ADAPTER_BUS_INFO