ISCSI_SESSION_INFOA structure (iscsidsc.h)

The ISCSI_SESSION_INFO structure contains session information.

Syntax

typedef struct {
  ISCSI_UNIQUE_SESSION_ID SessionId;
  PCHAR                   InitiatorName;
  PCHAR                   TargetNodeName;
  PCHAR                   TargetName;
  UCHAR                   ISID[6];
  UCHAR                   TSID[2];
  ULONG                   ConnectionCount;
  PISCSI_CONNECTION_INFOA Connections;
} ISCSI_SESSION_INFOA, *PISCSI_SESSION_INFOA;

Members

SessionId

A ISCSI_UNIQUE_SESSION_ID structure containing a unique identifier that represents the session.

InitiatorName

A string that represents the initiator name.

TargetNodeName

A string that represents the target node name.

TargetName

A string that represents the target name.

ISID[6]

The initiator-side identifier (ISID) used in the iSCSI protocol.

TSID[2]

The target-side identifier (TSID) used in the iSCSI protocol.

ConnectionCount

The number of connections associated with the session.

Connections

A pointer to a ISCSI_CONNECTION_INFO structure.

Remarks

Note

The iscsidsc.h header defines ISCSI_SESSION_INFO as an alias that automatically selects the ANSI or Unicode version of this function based on the definition of the UNICODE preprocessor constant. Mixing usage of the encoding-neutral alias with code that is not encoding-neutral can lead to mismatches that result in compilation or runtime errors. For more information, see Conventions for Function Prototypes.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Header iscsidsc.h

See also

GetIScsiSessionList

ISCSI_CONNECTION_INFO

ISCSI_UNIQUE_SESSION_ID