GetPersistentBinding2 函数

GetPersistentBinding2 方法检索 HBA 微型端口驱动程序用于将操作系统用于标识其逻辑单元的信息的绑定映射到光纤通道协议 (FCP) 逻辑单元的标识符。

语法

void GetPersistentBinding2(
   [in, HBAType("HBA_WWN")] uint8                        PortWWN[8],
   [in] uint32                                           InEntryCount,
   [out, HBA_STATUS_QUALIFIERS] HBA_STATUS               HBAStatus,
   [out] uint32                                          TotalEntryCount,
   [out] uint32                                          OutEntryCount,
   [out, WmiSizeIs("OutEntryCount")] HBAFCPBindingEntry2 Bindings[]
);

参数

PortWWN[8]
一个全球名称,指示将检索其持久绑定的端口。

InEntryCount
指示 WMI 提供程序可以在 Entry 参数中报告的绑定条目数。

HBAStatus
返回时,包含操作的状态。 有关允许的值的列表及其说明,请参阅 HBA_STATUS。 微型端口驱动程序在 GetFcpPersistentBinding_OUT 结构的 HBAStatus 成员中返回此信息。

TotalEntryCount
指示与 HBA 关联的永久性绑定的总数。

OutEntryCount
指示 GetPersistentBinding2 方法检索的永久性绑定总数。 此值将小于或等于 TotalEntryCount

Bindings[]
类型为 HBAFCPBindingEntry2 的结构数组,描述 HBA 在操作系统和光纤通道协议之间的绑定, (FCP) 标识符。

返回值

不适用于 WMI 方法。

注解

此 WMI 方法属于 MSFC_HBAFCPInfo WMI 类

要求

目标平台

桌面

标头

Hbapiwmi.h (包括 Hbapiwmi.h、Hbaapi.h 或 Hbaapi.h)

另请参阅

GetFcpPersistentBinding_IN

GetFcpPersistentBinding_OUT

HBAFCPBindingEntry2