ScsiReadCapacity_IN structure (iscsiop.h)

The ScsiReadCapacity_IN structure holds the input data for the ScsiReadCapacity method, which is used to send a SCSI read Ccapacity command.

Syntax

typedef struct _ScsiReadCapacity_IN {
  ULONGLONG UniqueSessionId;
  ULONGLONG Lun;
} ScsiReadCapacity_IN, *PScsiReadCapacity_IN;

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.

Requirements

Requirement Value
Header iscsiop.h (include Iscsiop.h)

See also

AddConnectionToSession

LoginToTarget

ScsiReadCapacity

ScsiReadCapacity_OUT