// hbapiwmi.h
typedef struct _ScsiInquiry_IN {
UCHAR Cdb[6];
UCHAR HbaPortWWN[8];
UCHAR DiscoveredPortWWN[8];
ULONGLONG FcLun;
} ScsiInquiry_IN, *PScsiInquiry_IN;
View the official Windows Driver Kit DDI reference// iscsiop.h
typedef struct _ScsiInquiry_IN {
ULONGLONG UniqueSessionId;
ULONGLONG Lun;
UCHAR InquiryFlags;
UCHAR PageCode;
} ScsiInquiry_IN, *PScsiInquiry_IN;
View the official Windows Driver Kit DDI referenceNo description available.
The ScsiInquiry_IN structure is used by a miniport driver to deliver input parameter data to the ScsiInquiry WMI method.
CdbContains the command descriptor block that holds the SCSI inquiry command to be sent to the target device.
HbaPortWWNContains a worldwise name for the HBA through which the target is accessed.
DiscoveredPortWWNContains a worldwide name for the port through which the target device is accessed.
FcLunIndicates the logical unit number of the logical unit that will receive the SCSI inquiry command.
The WMI tool suite generates a declaration of the ScsiInquiry_IN structure in Hbapiwmi.h when it compiles the MSFC_HBAAdapterMethods WMI Class.
The ScsiInquiry_IN structure holds the input data for the ScsiInquiry method, which is used to send a SCSI inquiry command.
UniqueSessionIdA 64-bit integer that uniquely identifies the session. The LoginToTarget and AddConnectionToSession methods both return this value in the UniqueSessionId parameter. Do not confuse this value with the values in the ISID and TSID members.
LunA 64-bit number that, together with the name of the target, uniquely identifies the logical unit.
InquiryFlagsThe inquiry flags to set in the SCSI inquiry command. A value of 1 in the lowest order bit (0x01) indicates that the enable vital product data (EVPD) bit will be set in the inquiry command and the device server will return the optional vital product data that the page code field specifies in the inquiry command. A value of 1 in the second bit (0x02) indicates that the command support data bit will be set in the inquiry command and the device server will return the optional command support data that the operation code field specifies in the inquiry command.
PageCodeThe page code field in the SCSI inquiry command.
You must implement this method.