// hbapiwmi.h
void ScsiInquiry(
[out, HBA_STATUS_QUALIFIERS] HBA_STATUS HBAStatus,
[in] uint8 Cdb[6],
[in, HBAType("HBA_WWN")] uint8 HbaPortWWN[8],
[in, HBAType("HBA_WWN")] uint8 DiscoveredPortWWN[8],
[in] uint64 FcLun,
[out] uint32 ResponseBufferSize,
[out] uint32 SenseBufferSize,
[out] uint8 ScsiStatus,
[out, WmiSizeIs("ResponseBufferSize")] uint8 ResponseBuffer[],
[out, WmiSizeIs("SenseBufferSize")] uint8 SenseBuffer[]
);
View the official Windows hardware development documentationNo description available.
The ScsiInquiry WMI method sends a SCSI inquiry command to the indicated device.
HBAStatus On return, contains the status of the operation. For a list of allowed values and their descriptions, see HBA_STATUS. The miniport driver returns this information in the HBAStatus member of a ScsiInquiry_OUT structure.
Cdb The command descriptor block that holds the SCSI inquiry command to be sent to the target device. This information is delivered to the miniport driver in the Cdb member of a ScsiInquiry_IN structure.
HbaPortWWN A worldwide name for the HBA through which the target is accessed. This information is delivered to the miniport driver in the HbaPortWWN member of a ScsiInquiry_IN structure.
DiscoveredPortWWN A worldwide name for the port through which the target device is accessed. This information is delivered to the miniport driver in the DiscoveredPortWWN member of a ScsiInquiry_IN structure.
FcLun The logical unit number of the logical unit that will receive the SCSI inquiry command. This information is delivered to the miniport driver in the FcLun member of a ScsiInquiry_IN structure.
ResponseBufferSize The size in bytes of the buffer that will hold the results of the SCSI inquiry command. The miniport driver returns this information in the ResponseBufferSize member of a ScsiInquiry_OUT structure.
SenseBufferSize The size in bytes of the buffer that will hold the SCSI sense data that results from the SCSI inquiry command. The miniport driver returns this information in the SenseBufferSize member of a ScsiInquiry_OUT structure.
ScsiStatus The status of the SCSI inquiry command. The miniport driver returns this information in the ScsiStatus member of a ScsiInquiry_OUT structure.
ResponseBuffer The results of the SCSI inquiry command. The miniport driver returns this information in the ResponseBuffer member of a ScsiInquiry_OUT structure.
SenseBuffer The SCSI sense data that results from the SCSI inquiry command. The miniport driver returns this information in the SenseBuffer member of a ScsiInquiry_OUT structure.
Not applicable to WMI methods.
This WMI method belongs to the MSFC_HBAAdapterMethods WMI Class.
| Target platform | Desktop |
| Header | Hbapiwmi.h (include Hbapiwmi.h, Hbaapi.h, or Hbaapi.h) |
| Library | Hbaapi.lib |