Bewerken

Delen via


MSiSCSI_LUNMappingInformation structure (iscsiop.h)

This MSiSCSI_LUNMappingInformation structure provides the SCSI address information that the operating system assigns to a particular logical unit.

Syntax

typedef struct _MSiSCSI_LUNMappingInformation {
  ULONGLONG UniqueAdapterId;
  ULONGLONG UniqueSessionId;
  ULONG     OSBus;
  ULONG     OSTarget;
  ULONG     OSLUN;
} MSiSCSI_LUNMappingInformation, *PMSiSCSI_LUNMappingInformation;

Members

UniqueAdapterId

A 64-bit integer that uniquely identifies an HBA initiator and a loaded instance of a storage miniport driver that manages the HBA. The initiator should use the address of the adapter extension or another address that the device driver owns to construct this identifier (ID). The initiator reports this value in the UniqueAdapterId member of the MSiSCSI_HBAInformation structure.

UniqueSessionId

A session ID that uniquely identifies the session for which the LUN mapping is valid. 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.

OSBus

The number that the operating system assigns to the bus that the adapter is attached to.

OSTarget

The device number that the operating system assigns to the target.

OSLUN

The logical unit number (LUN) that the operating system assigns to the logical unit.

Remarks

You must implement this class.

Requirements

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

See also

AddConnectionToSession

LoginToTarget

MSiSCSI_HBAInformation

MSiSCSI_LUNMappingInformation WMI Class

MSiSCSI_TargetMappings