// hbapiwmi.h
typedef struct _ScsiReadCapacity_IN {
UCHAR Cdb[10];
UCHAR HbaPortWWN[8];
UCHAR DiscoveredPortWWN[8];
ULONGLONG FcLun;
} ScsiReadCapacity_IN, *PScsiReadCapacity_IN;
View the official Windows Driver Kit DDI reference// iscsiop.h
typedef struct _ScsiReadCapacity_IN {
ULONGLONG UniqueSessionId;
ULONGLONG Lun;
} ScsiReadCapacity_IN, *PScsiReadCapacity_IN;
View the official Windows Driver Kit DDI referenceNo description available.
The ScsiReadCapacity_IN structure is used to deliver input parameter data to the ScsiReadCapacity WMI method.
CdbContains the command descriptor block that holds the SCSI read capacity 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 read capacity command.
The WMI tool suite generates a declaration of the ScsiReadCapacity_IN structure in Hbapiwmi.h when it compiles the MSFC_HBAAdapterMethods WMI Class.
The ScsiReadCapacity_IN structure holds the input data for the ScsiReadCapacity method, which is used to send a SCSI read capacity 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.
You must implement this method.