MSiSCSI_QueryLBPolicy - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// 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 reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-iscsimgt-_msiscsi_querylbpolicy)

_MSiSCSI_QueryLBPolicy structure

Description

This MSiSCSI_QueryLBPolicy method returns the MCS load balancing policy for each information if any that has been set across different iSCSI session.

Members

UniqueAdapterId

This 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.

Reserved

Reserved for Microsoft use only.

SessionCount

This specifies the number of active sessions for this adapter ID.

LoadBalancePolicies

This 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.

Remarks

You must implement this class only if the adapter supports MCS. Otherwise, it is optional.

See also

AddConnectionToSession

ISCSI_Supported_LB_Policies

LoginToTarget