// iscsimgt.h
typedef struct _MSiSCSI_InitiatorSessionInfo {
ULONGLONG UniqueAdapterId;
ULONG SessionCount;
ISCSI_SessionStaticInfo SessionsList[1];
} MSiSCSI_InitiatorSessionInfo, *PMSiSCSI_InitiatorSessionInfo;
View the official Windows Driver Kit DDI referenceNo description available.
The MSiSCSI_InitiatorSessionInfo structure contains information about a collection of sessions that belong to the indicated HBA initiator.
UniqueAdapterIdA 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.
SessionCountThe number of sessions that have been established with the provided adapter ID.
SessionsListA variable length array of ISCSI_SessionStaticInfo structures, which describe the static information that is associated with a session.
You must implement this class.
MSiSCSI_InitiatorSessionInfo WMI Class