ISCSI_TARGET_PORTALA structure (iscsidsc.h)

The ISCSI_TARGET_PORTAL structure contains information about a portal.

Syntax

typedef struct {
  CHAR   SymbolicName[MAX_ISCSI_PORTAL_NAME_LEN];
  CHAR   Address[MAX_ISCSI_PORTAL_ADDRESS_LEN];
  USHORT Socket;
} ISCSI_TARGET_PORTALA, *PISCSI_TARGET_PORTALA;

Members

SymbolicName[MAX_ISCSI_PORTAL_NAME_LEN]

A string representing the 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 of the portal.

Remarks

Note

The iscsidsc.h header defines ISCSI_TARGET_PORTAL as an alias which 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 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