// iscsimgt.h
typedef struct _ISCSI_RedirectSessionInfo {
ULONGLONG UniqueSessionId;
ULONG TargetPortalGroupTag;
ULONG ConnectionCount;
ISCSI_RedirectPortalInfo RedirectPortalList[1];
} ISCSI_RedirectSessionInfo, *PISCSI_RedirectSessionInfo;
View the official Windows Driver Kit DDI referenceNo description available.
This ISCSI_RedirectSessionInfo structure contains information about an iSCSI session and its portal information resulted from iSCSI target redirection.
UniqueSessionIdA 64-bit integer that uniquely identifies the session. The LoginToTarget and AddConnectionToSession methods both return this value in their UniqueSessionId parameter. Do not confuse this value with the values in the ISID and TSID members.
TargetPortalGroupTagTarget portal group tag for this session Id.
ConnectionCountNumber of connections for each session.
RedirectPortalListThis provides the redirection information, and it has as many entries as the number of connections for each session.