// iscsicfg.h
typedef struct _MSiSCSI_BootConfiguration {
ULONGLONG LUN;
ULONGLONG SecurityFlags;
ULONG UsernameSize;
ULONG PasswordSize;
BOOLEAN DiscoverBootDevice;
WCHAR InitiatorNode[223 + 1];
WCHAR TargetName[223 + 1];
ISCSI_TargetPortal TargetPortal;
ISCSI_LoginOptions LoginOptions;
UCHAR Username[1];
} MSiSCSI_BootConfiguration, *PMSiSCSI_BootConfiguration;
View the official Windows Driver Kit DDI referenceNo description available.
The MSiSCSI_BootConfiguration structure describes how the boot device is configured.
LUNThe logical unit number (LUN) that identifies the logical unit on the target that functions as a boot device.
SecurityFlagsA bitwise OR of security flags that indicate the security requirements of the boot device. For a list of possible flags for this member, see SECURITY_FLAG_QUALIFIERS.
UsernameSizeThe size, in bytes, of the string in Username.
PasswordSizeThe size, in bytes, of the string in Password.
DiscoverBootDeviceA Boolean value that indicates whether the system should dynamically discover the boot device. If this member is TRUE, the system should dynamically discover the boot device.
InitiatorNodeThe iSCSI name of the initiator node to use for connecting to the boot device. If this member is NULL, the HBA can choose any initiator node. The iSCSI name for the initiator uniquely identifies the initiator anywhere in the world. For more 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.
TargetNameThe iSCSI name for the target that contains the boot device.
TargetPortalA ISCSI_TargetPortal structure that specifies the portal to use for the connection.
LoginOptionsA ISCSI_LoginOptions structure that specifies the characteristics of the logon session to establish with the boot device.
UsernameA variable length array of characters that specifies the user name to use with the challenge handshake authentication protocol (CHAP). The user name is also known as the CHAP name (CHAP_N). The initiator uses the CHAP name to authenticate the target.
The WMI tool suite automatically generates a declaration of the MSiSCSI_BootConfiguration structure when it compiles the MSiSCSI_BootConfiguration WMI Class in Config.mof.It is optional that you implement this class.
MSiSCSI_BootConfiguration WMI Class