ISCSI_DEVICE_ON_SESSIONA Structure

ISCSI_DEVICE_ON_SESSIONA Structure

The ISCSI_DEVICE_ON_SESSIONA structure specifies multiple methods for identifying a device associated with an iSCSI login session.

typedef struct _ISCSI_DEVICE_ON_SESSIONA {
CHAR InitiatorName[MAX_ISCSI_HBANAME_LEN];
CHAR TargetName[MAX_ISCSI_NAME_LEN + 1];
SCSI_ADDRESS ScsiAddress;
GUID DeviceInterfaceType;
CHAR DeviceInterfaceName[MAX_PATH];
CHAR LegacyName[MAX_PATH];
STORAGE_DEVICE_NUMBER StorageDeviceNumber;
DWORD DeviceInstance; } ISCSI_DEVICE_ON_SESSIONA,
*PISCSI_DEVICE_ON_SESSIONA;

Members

  • InitiatorName
    An ASCII character string that indicates the initiator name.

  • TargetName
    An ASCII character string that indicates the target name.

  • ScsiAddress
    A SCSI_ADDRESS-type structure that contains the SCSI address of the device.

  • DeviceInterfaceType
    A GUID that identifies the device interface class that is associated with the device. Device interface class GUIDs include (but are not limited to) the following:

    GUID Meaning

    GUID_DEVINTERFACE_DISK

    Disk

    GUID_DEVINTERFACE_TAPE

    Tape

    GUID_DEVINTERFACE_CDROM

    CD-ROM

    GUID_DEVINTERFACE_WRITEONCEDISK

    Write Once Disk

    GUID_DEVINTERFACE_CDCHANGER

    CD Changer

    GUID_DEVINTERFACE_MEDIUMCHANGER

    Medium Changer

    GUID_DEVINTERFACE_FLOPPY

    Floppy

  • DeviceInterfaceName
    An ASCII string that specifies the name of the device interface class.

  • LegacyName
    An ASCII string that specifies the legacy device name.

  • StorageDeviceNumber
    A STORAGE_DEVICE_NUMBER-type structure

  • DeviceInstance
    A handle to an instance of the device in the devnode tree. For information on the cfgmgr32Xxx routines that use this handle, see PnP Configuration Manager Functions.

Requirements

Client

Requires Windows Vista.

Server

Requires Windows Server 2008.

Header

Declared in Iscsidsc.h.

See Also

ISCSI_DEVICE_ON_SESSION

Send comments about this topic to Microsoft

Build date: 10/1/2007