MSiSCSI_TargetMappings structure (iscsiop.h)
The MSiSCSI_TargetMappings structure contains a set of logical unit number (LUN) mappings that are associated with an initiator instance.
Syntax
typedef struct _MSiSCSI_TargetMappings {
ULONGLONG UniqueAdapterId;
ULONG TargetMappingCount;
ULONG Reserved;
ISCSI_TargetMapping TargetMappings[1];
} MSiSCSI_TargetMappings, *PMSiSCSI_TargetMappings;
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.
TargetMappingCount
The number of mappings in the TargetMappings member.
Reserved
Reserved for Microsoft use only.
TargetMappings[1]
A variable-length array of ISCSI_TargetMapping structures, each of which provides a list of LUN mappings that are associated with a particular iSCSI session that is associated with the adapter ID.
Remarks
You must implement this class.
Requirements
Requirement | Value |
---|---|
Header | iscsiop.h (include Iscsiop.h) |