ScsiReadCapacity_IN - NtDoc

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

NtDoc

No description available.

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

_ScsiReadCapacity_IN structure (hbapiwmi.h)

Description

The ScsiReadCapacity_IN structure is used to deliver input parameter data to the ScsiReadCapacity WMI method.

Members

Cdb

Contains the command descriptor block that holds the SCSI read capacity 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 read capacity command.

Remarks

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

See also

ScsiReadCapacity


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

_ScsiReadCapacity_IN structure (iscsiop.h)

Description

The ScsiReadCapacity_IN structure holds the input data for the ScsiReadCapacity method, which is used to send a SCSI read capacity 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.

Remarks

You must implement this method.

See also

AddConnectionToSession

LoginToTarget

ScsiReadCapacity

ScsiReadCapacity_OUT