// iscsifnd.h
typedef struct _ISCSI_DiscoveredTarget {
ULONG TargetPortalGroupCount;
WCHAR TargetName[223 + 1];
WCHAR TargetAlias[255 + 1];
ISCSI_DiscoveredTargetPortalGroup TargetDiscoveredPortalGroups[1];
} ISCSI_DiscoveredTarget, *PISCSI_DiscoveredTarget;
View the official Windows Driver Kit DDI referenceNo description available.
The ISCSI_DiscoveredTarget structure contains information that is related to a discovered target device.
TargetPortalGroupCountThe number of portal groups that are associated with the target.
TargetNameA name for the target that uniquely identifies the target anywhere in the world. For information about how to specify this name, see the iSCSI specification that is published by the Internet Engineering Task Force (IETF) of the IP storage working group.
TargetAliasThe human-readable name or description that is assigned to the target device by its host operating system. You can use this name in user interfaces, but it is not unique, you should not use it in authentication decisions.
TargetDiscoveredPortalGroupsA variable-length array of ISCSI_DiscoveredTargetPortalGroup structures that contains information about the portal groups that the initiator can use to connect to the target.
The WMI tool suite automatically generates a declaration of the ISCSI_DiscoveredTarget structure when it compiles the ISCSI_DiscoveredTarget WMI Class in Discover.mof.
ISCSI_DiscoveredTarget WMI Class
ISCSI_DiscoveredTargetPortalGroup