ISCSI_TARGET_MAPPINGW Structure

ISCSI_TARGET_MAPPINGW Structure

The ISCSI_TARGET_MAPPINGW structure contains information about a target and the Host Bus Adapters (HBA) and buses through which the target can be reached.

typedef struct _ISCSI_TARGET_MAPPINGW {
WCHAR InitiatorName[MAX_ISCSI_HBANAME_LEN];
WCHAR TargetName[MAX_ISCSI_HBANAME_LEN];
WCHAR OSDeviceName[MAX_PATH];
ISCSI_UNIQUE_SESSION_ID SessionId;
ULONG OSBusNumber;
ULONG OSTargetNumber;
ULONG LUNCount;
PISCSI_LUN_LIST LUNList; } ISCSI_TARGET_MAPPINGW,
*PISCSI_TARGET_MAPPINGW;

Members

  • InitiatorName
    A wide character string that indicates the name of the initiator HBA through which the target is accessed.

  • TargetName
    A wide character string that indicates the target name.

  • OSDeviceName
    A wide character string that indicates the device name of the initiator HBA; for example, \device\ScsiPort3.

  • SessionId
    A structure of type ISCSI_UNIQUE_SESSION_ID that contains information that uniquely identifies the session.

  • OSBusNumber
    The bus number used by the initiator for the local SCSI address of the target.

  • OSTargetNumber
    The target number used by the initiator for the local SCSI address of the target.

  • LUNCount
    The number of logical units (LUN) on the target.

  • LUNList
    A list of structures of type SCSI_LUN_LIST that contain information about the LUNs associated with the target.

Requirements

Client

Requires Windows Vista.

Server

Requires Windows Server 2008.

Header

Declared in Iscsidsc.h.

See Also

ISCSI_UNIQUE_SESSION_ID
SCSI_LUN_LIST

Send comments about this topic to Microsoft

Build date: 10/1/2007