Bewerken

Delen via


HBAFCPBindingEntry2 structure (hbapiwmi.h)

The HBAFCPBindingEntry2 structure defines a binding between the information that uniquely identifies a logical unit for the operating system and the fibre channel protocol (FCP) identifier for the logical unit.

Syntax

typedef struct _HBAFCPBindingEntry2 {
  ULONG     Type;
  HBAFCPID  FCPId;
  UCHAR     Luid[256];
  HBAScsiID ScsiId;
} HBAFCPBindingEntry2, *PHBAFCPBindingEntry2;

Members

Type

Indicates the binding type. For a description of the values that this member can have, see the T11 committee's Fibre Channel HBA API specification.

Value Meaning
HBA_BIND_TO_D_ID The target is identified by its fibre channel protocol (FCP) ID. The Fcid member of the HBAFCPID structure contains this value.
HBA_BIND_TO_WWPN The target is identified by its worldwide port name. The PortWWN member of the HBAFCPID structure contains this value.
HBA_BIND_TO_WWNN The fibre channel target device is identified by its worldwide node name. The NodeWWN member of the HBAFCPID structure contains this value.
HBA_BIND_TO_LUID The target is identified by its fibre channel logical unit ID. The FcpLun member of the HBAFCPID structure contains this value.
HBA_BIND_TARGETS The system should automatically generate target mappings from logical unit numbers to fibre channel protocol identifiers.

For information about what needs to be included to use the symbols that represent the binding types, see the Headers section.

FCPId

Contains a structure of type HBAFCPID that contains the FCP identifier for the logical unit and information about the port to be queried for information about the device.

Luid[256]

Contains the logical unit descriptor for the device that the operating system derives from SCSI inquiry data.

ScsiId

Contains a structure of type HBAScsiID that contains the information that uniquely identifies a logical unit for the operating system.

Remarks

This structure is very similar to the HBAFCPBindingEntry structure. The only difference is that HBAFCPBindingEntry2 includes the number that the operating system generates for the logical unit.

The WMI tool suite generates a declaration of HBAFCPBindingEntry2 automatically when it compiles the HBAFCPBindingEntry WMI Class that is defined in hbaapi.mof.

For an explanation of the fibre channel protocol (FCP), see the T11 committee's dpANS Fibre Channel Protocol for SCSI specification.

Requirements

Requirement Value
Header hbapiwmi.h (include Hbapiwmi.h, Hbaapi.h, Hbaapi.h)

See also

HBAFCPBindingEntry

HBAFCPBindingEntry2 WMI Class