SCSI_INQUIRY_DATA - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// ntddscsi.h

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;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-ntddscsi-_scsi_inquiry_data)

_SCSI_INQUIRY_DATA structure

Description

The SCSI_INQUIRY_DATA structure is used in conjunction with the IOCTL_SCSI_GET_INQUIRY_DATA request 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.

Members

PathId

Indicates the number of the bus the device is located on.

TargetId

Indicates the number of the device on the bus.

Lun

Indicates the logical unit number of the logical unit on the target device.

DeviceClaimed

When TRUE, indicates that the device has been claimed by a class driver.

InquiryDataLength

Indicates the length in bytes of inquiry data.

NextInquiryDataOffset

Contains an offset to the inquiry data for the next logical unit on the target device.

InquiryData

Pointer to buffer containing the inquiry data for the logical unit.

Remarks

The IOCTL_SCSI_GET_INQUIRY_DATA request retrieves inquiry data for all devices associated with a specified adapter. An adapter can potentially have multiple buses. The PathId member identifies the bus. Each bus can have multiple target devices. The TargetId member identifies the target device, and each target device can have multiple logical units. The Lun member identifies the logical unit.

See also

IOCTL_SCSI_GET_INQUIRY_DATA

SCSI_ADAPTER_BUS_INFO

SCSI_BUS_DATA