ISCSI_TARGET_PORTAL_INFOA structure (iscsidsc.h)
The ISCSI_TARGET_PORTAL_INFO structure contains information about a target portal.
Syntax
typedef struct {
CHAR InitiatorName[MAX_ISCSI_HBANAME_LEN];
ULONG InitiatorPortNumber;
CHAR SymbolicName[MAX_ISCSI_PORTAL_NAME_LEN];
CHAR Address[MAX_ISCSI_PORTAL_ADDRESS_LEN];
USHORT Socket;
} ISCSI_TARGET_PORTAL_INFOA, *PISCSI_TARGET_PORTAL_INFOA;
Members
InitiatorName[MAX_ISCSI_HBANAME_LEN]
A string representing the name of the Host-Bus Adapter initiator.
InitiatorPortNumber
The port number on the Host-Bus Adapter (HBA) associated with the portal. This port number corresponds to the source IP address on the HBA
SymbolicName[MAX_ISCSI_PORTAL_NAME_LEN]
A string representing the symbolic name of the portal.
Address[MAX_ISCSI_PORTAL_ADDRESS_LEN]
A string representing the IP address or DNS name of the portal.
Socket
The socket number.
Remarks
Note
The iscsidsc.h header defines ISCSI_TARGET_PORTAL_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 |