ScsiInquiry_IN - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// 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 reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-hbapiwmi-_scsiinquiry_in)

_ScsiInquiry_IN structure (hbapiwmi.h)

Description

The ScsiInquiry_IN structure is used by a miniport driver to deliver input parameter data to the ScsiInquiry WMI method.

Members

Cdb

Contains the command descriptor block that holds the SCSI inquiry command to be sent to the target device.

HbaPortWWN

Contains a worldwise name for the HBA through which the target is accessed.

DiscoveredPortWWN

Contains a worldwide name for the port through which the target device is accessed.

FcLun

Indicates the logical unit number of the logical unit that will receive the SCSI inquiry command.

Remarks

The WMI tool suite generates a declaration of the ScsiInquiry_IN structure in Hbapiwmi.h when it compiles the MSFC_HBAAdapterMethods WMI Class.

See also

ScsiInquiry


Windows Driver Kit DDI reference (ns-iscsiop-_scsiinquiry_in)

_ScsiInquiry_IN structure (iscsiop.h)

Description

The ScsiInquiry_IN structure holds the input data for the ScsiInquiry method, which is used to send a SCSI inquiry command.

Members

UniqueSessionId

A 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.

Lun

A 64-bit number that, together with the name of the target, uniquely identifies the logical unit.

InquiryFlags

The 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.

PageCode

The page code field in the SCSI inquiry command.

Remarks

You must implement this method.

See also

AddConnectionToSession

LoginToTarget

ScsiInquiry

ScsiInquiry_OUT