// iscsimgt.h
typedef struct _MSiSCSI_QueryLBPolicy {
ULONGLONG UniqueAdapterId;
ULONG Reserved;
ULONG SessionCount;
ISCSI_Supported_LB_Policies LoadBalancePolicies[1];
} MSiSCSI_QueryLBPolicy, *PMSiSCSI_QueryLBPolicy;
View the official Windows Driver Kit DDI referenceNo description available.
This MSiSCSI_QueryLBPolicy method returns the MCS load balancing policy for each information if any that has been set across different iSCSI session.
UniqueAdapterIdThis is a unique connection identifier that the initiator uses to identify a connection. The LoginToTarget and AddConnectionToSession methods both return this value in the UniqueConnectionId parameter.
ReservedReserved for Microsoft use only.
SessionCountThis specifies the number of active sessions for this adapter ID.
LoadBalancePoliciesThis is an enumeration that contains information required to set the load balance policy. For more information about how to set the load balance policy, see ISCSI_Supported_LB_Policies. There will be as many of these structures as the number of sessions available for this adapter.
You must implement this class only if the adapter supports MCS. Otherwise, it is optional.