
//***************************************************************************
//
//  hbaapi.mof
//
//  Module: WDM classes to expose HBA api data from drivers
//
//  Purpose: Contains WDM classes that specify the HBA data to be exposed
//           via the HBA api set.
//
//  NOTE: This file contains information that is based upon an earlier
//        revision of the HBAAPI 2.18 specification.
//
//  NOTE: This is currently under revision to SM-HBA Dec 2005
//
//  Copyright (c) 2001 Microsoft Corporation
//
//***************************************************************************

#pragma autorecover
#pragma classflags(64)
#pragma namespace("\\\\.\\root\\wmi")
instance of __namespace{ name="ms_804";};
#pragma namespace("\\\\.\\root\\wmi\\ms_804")

[Description("此类公开与光纤通道适配器关联的 FC3 管理信息。每个适配器应有一个此类的实例") : Amended ToSubclass,AMENDMENT, LOCALE(0x0804)] 
class HBAFC3MgmtInfo
{
  [Description("适配器的唯一标识符。此标识符必须在所有适配器中唯一。同一标识符值必须用于公开适配器信息的其他类中的同一适配器") : Amended ToSubclass] uint64 UniqueAdapterId;
};

[Description("此类使 HBA 链路事件出现") : Amended ToSubclass,AMENDMENT, LOCALE(0x0804)] 
class MSFC_LinkEvent : WMIEvent
{
  [Description("事件类型") : Amended ToSubclass,Values{"HBA_EVENT_ADAPTER_UNKNOWN", "HBA_EVENT_ADAPTER_ADD", "HBA_EVENT_ADAPTER_REMOVE", "HBA_EVENT_ADAPTER_CHANGE", "HBA_EVENT_PORT_UNKNOWN", "HBA_EVENT_PORT_OFFLINE", "HBA_EVENT_PORT_ONLINE", "HBA_EVENT_PORT_NEW_TARGETS", "HBA_EVENT_PORT_FABRIC", "HBA_EVENT_PORT_BROADCAST_CHANGE", "HBA_EVENT_PORT_BROADCAST_D24_0", "HBA_EVENT_PORT_BROADCAST_D27_4", "HBA_EVENT_PORT_BROADCAST_SES", "HBA_EVENT_PORT_BROADCAST_D01_4", "HBA_EVENT_PORT_BROADCAST_D04_7", "HBA_EVENT_PORT_BROADCAST_D16_7", "HBA_EVENT_PORT_BROADCAST_D29_7", "HBA_EVENT_PORT_ALL", "HBA_EVENT_PORT_STAT_THRESHOLD", "HBA_EVENT_PORT_STAT_GROWTH", "HBA_EVENT_PHY_STAT_THRESHOLD", "HBA_EVENT_PHY_STAT_GROWTH", "HBA_EVENT_TARGET_UNKNOWN", "HBA_EVENT_TARGET_OFFLINE", "HBA_EVENT_TARGET_ONLINE", "HBA_EVENT_TARGET_REMOVED", "HBA_EVENT_LINK_UNKNOWN", "HBA_EVENT_LINK_INCIDENT"} : Amended ToSubclass] uint32 EventType;
  [Description("发现的端口 WWN") : Amended ToSubclass] uint8 AdapterWWN[];
  [Description("RLIR 缓冲区大小") : Amended ToSubclass] uint32 RLIRBufferSize;
  [Description("RLIR 缓冲区大小") : Amended ToSubclass] uint8 RLIRBuffer[];
};

[Description("此类公开与光纤通道适配器关联的属性信息。每个适配器应有一个此类的实例") : Amended ToSubclass,AMENDMENT, LOCALE(0x0804)] 
class MSFC_FCAdapterHBAAttributes
{
  [Description("适配器的唯一标识符。此标识符必须在所有适配器中唯一。同一标识符值必须用于公开适配器信息的其他类中的同一适配器") : Amended ToSubclass] uint64 UniqueAdapterId;
  [Description("查询操作的 HBA 状态结果") : Amended ToSubclass,Values{"操作已成功 ", "错误 ", "功能不受支持。", "无效句柄 ", "错误参数 ", "无法识别 WWN ", "无法识别索引 ", "需要更大的缓冲区 ", "自上次调用 HBA_RefreshInformation 以来，信息已更改", "已报告 SCSI 检查条件", "适配器忙或已保留，重试可能有效", "请求超时，重试可能有效", "引用的 HBA 已删除或停用", "请求的 ELS 已被本地适配器拒绝", "指定的适配器未提供指定的 LUN", "检测到库和驱动程序模块之间不兼容", "多个适配器有一个匹配的 WWN", "永久性绑定请求包含了错误的本地 SCSI 总线编号", "永久性绑定请求包含了错误的本地 SCSI 目标编号", "永久性绑定请求包含了错误的本地 SCSI 逻辑单元号", "永久性绑定集请求包含了已绑定的本地 SCSI ID", "永久性绑定请求包含了错误或无法找到的 FCP 目标 FCID", "永久性绑定请求包含了错误的 FCP 目标节点 WWN", "永久性绑定请求包含了错误的 FCP 目标端口 WWN", "永久性绑定请求包含了未由已标识的目标定义的 FCP 逻辑单元号", "永久性绑定请求包含了未定义或无法访问的逻辑单元唯一标识符", "永久性绑定删除请求包含了与指定端口建立的绑定不匹配的绑定", "向并非 SCSI 目标端口的 Nx_Port 发出了 SCSI 命令请求", "发出了与不支持的 FC-4 协议相关的请求", "发出了为端口启用未实现功能的请求", "SCSI 目标忙", "在未加载任何库时调用了 HBA_FreeLibrary", "在已加载库后调用了 HBA_LoadLibrary", "传递到 HBA_SendRNIDV2 中的 FCID 违反了访问控制规则"} : Amended ToSubclass] uint32 HBAStatus;
};

[AMENDMENT, LOCALE(0x0804)] 
class MSFC_HBAPortAttributesResults
{
  [Values{"未知", "其他", "不存在", "光纤", "公用循环", "HBA_PORTTYPE_FLPORT", "光纤端口", "光纤扩展端口", "通用光纤端口", "专用循环", "点对点", "SAS (SSP 或 STP)", "SATA (直接连接)", "SAS 扩展器"} : Amended ToSubclass] uint32 PortType;
  [Values{"未知", "可操作", "用户脱机", "绕过", "在诊断模式下", "链路关闭", "端口错误", "环回", "已降级"} : Amended ToSubclass] uint32 PortState;
  [Values{"1 千兆位/秒", "2 千兆位/秒", "10 千兆位/秒", "4 千兆位/秒"} : Amended ToSubclass] uint32 PortSupportedSpeed;
  [Values{"1 千兆位/秒", "2 千兆位/秒", "10 千兆位/秒", "4 千兆位/秒"} : Amended ToSubclass] uint32 PortSpeed;
};

[Description("此类公开与光纤通道端口关联的属性信息。每个端口应有一个此类的实例。") : Amended ToSubclass,AMENDMENT, LOCALE(0x0804)] 
class MSFC_FibrePortHBAAttributes
{
  [Description("端口的唯一标识符。此标识符必须在所有适配器的所有端口中唯一。同一标识符值必须用于公开端口信息的其他类中的同一端口") : Amended ToSubclass] uint64 UniquePortId;
  [Description("查询操作的 HBA 状态结果") : Amended ToSubclass,Values{"操作已成功 ", "错误 ", "功能不受支持。", "无效句柄 ", "错误参数 ", "无法识别 WWN ", "无法识别索引 ", "需要更大的缓冲区 ", "自上次调用 HBA_RefreshInformation 以来，信息已更改", "已报告 SCSI 检查条件", "适配器忙或已保留，重试可能有效", "请求超时，重试可能有效", "引用的 HBA 已删除或停用", "请求的 ELS 已被本地适配器拒绝", "指定的适配器未提供指定的 LUN", "检测到库和驱动程序模块之间不兼容", "多个适配器有一个匹配的 WWN", "永久性绑定请求包含了错误的本地 SCSI 总线编号", "永久性绑定请求包含了错误的本地 SCSI 目标编号", "永久性绑定请求包含了错误的本地 SCSI 逻辑单元号", "永久性绑定集请求包含了已绑定的本地 SCSI ID", "永久性绑定请求包含了错误或无法找到的 FCP 目标 FCID", "永久性绑定请求包含了错误的 FCP 目标节点 WWN", "永久性绑定请求包含了错误的 FCP 目标端口 WWN", "永久性绑定请求包含了未由已标识的目标定义的 FCP 逻辑单元号", "永久性绑定请求包含了未定义或无法访问的逻辑单元唯一标识符", "永久性绑定删除请求包含了与指定端口建立的绑定不匹配的绑定", "向并非 SCSI 目标端口的 Nx_Port 发出了 SCSI 命令请求", "发出了与不支持的 FC-4 协议相关的请求", "发出了为端口启用未实现功能的请求", "SCSI 目标忙", "在未加载任何库时调用了 HBA_FreeLibrary", "在已加载库后调用了 HBA_LoadLibrary", "传递到 HBA_SendRNIDV2 中的 FCID 违反了访问控制规则"} : Amended ToSubclass] uint32 HBAStatus;
};

[Description("此类公开与光纤通道端口关联的统计信息。每个端口应有一个此类的实例。") : Amended ToSubclass,AMENDMENT, LOCALE(0x0804)] 
class MSFC_FibrePortHBAStatistics
{
  [Description("端口的唯一标识符。此标识符必须在所有适配器的所有端口中唯一。同一标识符值必须用于公开端口信息的其他类中的同一端口") : Amended ToSubclass] uint64 UniquePortId;
  [Description("查询操作的 HBA 状态结果") : Amended ToSubclass,Values{"操作已成功 ", "错误 ", "功能不受支持。", "无效句柄 ", "错误参数 ", "无法识别 WWN ", "无法识别索引 ", "需要更大的缓冲区 ", "自上次调用 HBA_RefreshInformation 以来，信息已更改", "已报告 SCSI 检查条件", "适配器忙或已保留，重试可能有效", "请求超时，重试可能有效", "引用的 HBA 已删除或停用", "请求的 ELS 已被本地适配器拒绝", "指定的适配器未提供指定的 LUN", "检测到库和驱动程序模块之间不兼容", "多个适配器有一个匹配的 WWN", "永久性绑定请求包含了错误的本地 SCSI 总线编号", "永久性绑定请求包含了错误的本地 SCSI 目标编号", "永久性绑定请求包含了错误的本地 SCSI 逻辑单元号", "永久性绑定集请求包含了已绑定的本地 SCSI ID", "永久性绑定请求包含了错误或无法找到的 FCP 目标 FCID", "永久性绑定请求包含了错误的 FCP 目标节点 WWN", "永久性绑定请求包含了错误的 FCP 目标端口 WWN", "永久性绑定请求包含了未由已标识的目标定义的 FCP 逻辑单元号", "永久性绑定请求包含了未定义或无法访问的逻辑单元唯一标识符", "永久性绑定删除请求包含了与指定端口建立的绑定不匹配的绑定", "向并非 SCSI 目标端口的 Nx_Port 发出了 SCSI 命令请求", "发出了与不支持的 FC-4 协议相关的请求", "发出了为端口启用未实现功能的请求", "SCSI 目标忙", "在未加载任何库时调用了 HBA_FreeLibrary", "在已加载库后调用了 HBA_LoadLibrary", "传递到 HBA_SendRNIDV2 中的 FCID 违反了访问控制规则"} : Amended ToSubclass] uint32 HBAStatus;
};

[Description("此类公开可以在光纤通道端口上执行的操作。每个端口应有一个此类的实例。") : Amended ToSubclass,AMENDMENT, LOCALE(0x0804)] 
class MSFC_FibrePortHBAMethods
{
};

[Description("") : Amended ToSubclass,AMENDMENT, LOCALE(0x0804)] 
class MSFC_EventBuffer
{
};

[Description("此类公开可以通过光纤通道适配器执行的端口发现操作。每个适配器应有一个此类的实例") : Amended ToSubclass,AMENDMENT, LOCALE(0x0804)] 
class MSFC_HBAAdapterMethods
{
  void GetDiscoveredPortAttributes([in] uint32 PortIndex,[in] uint32 DiscoveredPortIndex,[out,Description("HBA Status result for the query operation") : Amended ToSubclass,Values{"Operation was successful ", "Error ", "Function not supported.", "invalid handle ", "Bad argument ", "WWN not recognized ", "Index not recognized ", "Larger buffer required ", "Information has changed since the last call to HBA_RefreshInformation ", "SCSI Check Condition reported", "Adapter busy or reserved, retry may be effective", "Request timed out, retry may be effective", "Referenced HBA has been removed or deactivated", "The requested ELS was rejected by the local adapter", "The specified LUN is not provided by the specified adapter", "An incompatibility has been detected among the library and driver modules", "Multiple adapters have a matching WWN", "A persistent binding request included a bad local SCSI bus number", "A persistent binding request included a bad local SCSI target number", "A persistent binding request included a bad local SCSI logical unit number", "A persistent binding set request included a local SCSI ID that was already bound", "A persistent binding request included a bad or unlocatable FCP Target FCID", "A persistent binding request included a bad FCP Target Node WWN", "A persistent binding request included a bad FCP Target Port WWN", "A persistent binding request included an FCP Logical Unit Number not defined by the identified Target", "A persistent binding request included an undefined or otherwise in accessible Logical Unit Unique Identifier", "A persistent binding remove request included a binding which did not match a binding established by the specified port", "A SCSI command was requested to an Nx_Port that was not a SCSI Target Port", "A request was made concerning an unsupported FC-4 protocol", "A request was made to enable unimplemented capabilities for a port", "SCSI target is busy", "A call was made to HBA_FreeLibrary when no library was loaded", "A call was made to HBA_LoadLibrary when a library was already loaded", "FCID passed into HBA_SendRNIDV2 violates access control rules"} : Amended ToSubclass] uint32 HBAStatus,[out] MSFC_HBAPortAttributesResults PortAttributes);
  void GetPortAttributesByWWN([in] uint8 wwn[],[out,Description("HBA Status result for the query operation") : Amended ToSubclass,Values{"Operation was successful ", "Error ", "Function not supported.", "invalid handle ", "Bad argument ", "WWN not recognized ", "Index not recognized ", "Larger buffer required ", "Information has changed since the last call to HBA_RefreshInformation ", "SCSI Check Condition reported", "Adapter busy or reserved, retry may be effective", "Request timed out, retry may be effective", "Referenced HBA has been removed or deactivated", "The requested ELS was rejected by the local adapter", "The specified LUN is not provided by the specified adapter", "An incompatibility has been detected among the library and driver modules", "Multiple adapters have a matching WWN", "A persistent binding request included a bad local SCSI bus number", "A persistent binding request included a bad local SCSI target number", "A persistent binding request included a bad local SCSI logical unit number", "A persistent binding set request included a local SCSI ID that was already bound", "A persistent binding request included a bad or unlocatable FCP Target FCID", "A persistent binding request included a bad FCP Target Node WWN", "A persistent binding request included a bad FCP Target Port WWN", "A persistent binding request included an FCP Logical Unit Number not defined by the identified Target", "A persistent binding request included an undefined or otherwise in accessible Logical Unit Unique Identifier", "A persistent binding remove request included a binding which did not match a binding established by the specified port", "A SCSI command was requested to an Nx_Port that was not a SCSI Target Port", "A request was made concerning an unsupported FC-4 protocol", "A request was made to enable unimplemented capabilities for a port", "SCSI target is busy", "A call was made to HBA_FreeLibrary when no library was loaded", "A call was made to HBA_LoadLibrary when a library was already loaded", "FCID passed into HBA_SendRNIDV2 violates access control rules"} : Amended ToSubclass] uint32 HBAStatus,[out] MSFC_HBAPortAttributesResults PortAttributes);
  void SendCTPassThru([in] uint8 PortWWN[],[in] uint32 RequestBufferCount,[in] uint8 RequestBuffer[],[out,Description("HBA Status result for the query operation") : Amended ToSubclass,Values{"Operation was successful ", "Error ", "Function not supported.", "invalid handle ", "Bad argument ", "WWN not recognized ", "Index not recognized ", "Larger buffer required ", "Information has changed since the last call to HBA_RefreshInformation ", "SCSI Check Condition reported", "Adapter busy or reserved, retry may be effective", "Request timed out, retry may be effective", "Referenced HBA has been removed or deactivated", "The requested ELS was rejected by the local adapter", "The specified LUN is not provided by the specified adapter", "An incompatibility has been detected among the library and driver modules", "Multiple adapters have a matching WWN", "A persistent binding request included a bad local SCSI bus number", "A persistent binding request included a bad local SCSI target number", "A persistent binding request included a bad local SCSI logical unit number", "A persistent binding set request included a local SCSI ID that was already bound", "A persistent binding request included a bad or unlocatable FCP Target FCID", "A persistent binding request included a bad FCP Target Node WWN", "A persistent binding request included a bad FCP Target Port WWN", "A persistent binding request included an FCP Logical Unit Number not defined by the identified Target", "A persistent binding request included an undefined or otherwise in accessible Logical Unit Unique Identifier", "A persistent binding remove request included a binding which did not match a binding established by the specified port", "A SCSI command was requested to an Nx_Port that was not a SCSI Target Port", "A request was made concerning an unsupported FC-4 protocol", "A request was made to enable unimplemented capabilities for a port", "SCSI target is busy", "A call was made to HBA_FreeLibrary when no library was loaded", "A call was made to HBA_LoadLibrary when a library was already loaded", "FCID passed into HBA_SendRNIDV2 violates access control rules"} : Amended ToSubclass] uint32 HBAStatus,[out] uint32 TotalResponseBufferCount,[out] uint32 ActualResponseBufferCount,[out] uint8 ResponseBuffer[]);
  void SendRNID([in] uint8 wwn[],[in,Values{"NODE_WWN", "PORT_WWN"} : Amended ToSubclass] uint32 wwntype,[out,Description("HBA Status result for the query operation") : Amended ToSubclass,Values{"Operation was successful ", "Error ", "Function not supported.", "invalid handle ", "Bad argument ", "WWN not recognized ", "Index not recognized ", "Larger buffer required ", "Information has changed since the last call to HBA_RefreshInformation ", "SCSI Check Condition reported", "Adapter busy or reserved, retry may be effective", "Request timed out, retry may be effective", "Referenced HBA has been removed or deactivated", "The requested ELS was rejected by the local adapter", "The specified LUN is not provided by the specified adapter", "An incompatibility has been detected among the library and driver modules", "Multiple adapters have a matching WWN", "A persistent binding request included a bad local SCSI bus number", "A persistent binding request included a bad local SCSI target number", "A persistent binding request included a bad local SCSI logical unit number", "A persistent binding set request included a local SCSI ID that was already bound", "A persistent binding request included a bad or unlocatable FCP Target FCID", "A persistent binding request included a bad FCP Target Node WWN", "A persistent binding request included a bad FCP Target Port WWN", "A persistent binding request included an FCP Logical Unit Number not defined by the identified Target", "A persistent binding request included an undefined or otherwise in accessible Logical Unit Unique Identifier", "A persistent binding remove request included a binding which did not match a binding established by the specified port", "A SCSI command was requested to an Nx_Port that was not a SCSI Target Port", "A request was made concerning an unsupported FC-4 protocol", "A request was made to enable unimplemented capabilities for a port", "SCSI target is busy", "A call was made to HBA_FreeLibrary when no library was loaded", "A call was made to HBA_LoadLibrary when a library was already loaded", "FCID passed into HBA_SendRNIDV2 violates access control rules"} : Amended ToSubclass] uint32 HBAStatus,[out] uint32 ResponseBufferCount,[out] uint8 ResponseBuffer[]);
  void SendRNIDV2([in] uint8 PortWWN[],[in] uint8 DestWWN[],[in] uint32 DestFCID,[in] uint32 NodeIdDataFormat,[out,Description("HBA Status result for the query operation") : Amended ToSubclass,Values{"Operation was successful ", "Error ", "Function not supported.", "invalid handle ", "Bad argument ", "WWN not recognized ", "Index not recognized ", "Larger buffer required ", "Information has changed since the last call to HBA_RefreshInformation ", "SCSI Check Condition reported", "Adapter busy or reserved, retry may be effective", "Request timed out, retry may be effective", "Referenced HBA has been removed or deactivated", "The requested ELS was rejected by the local adapter", "The specified LUN is not provided by the specified adapter", "An incompatibility has been detected among the library and driver modules", "Multiple adapters have a matching WWN", "A persistent binding request included a bad local SCSI bus number", "A persistent binding request included a bad local SCSI target number", "A persistent binding request included a bad local SCSI logical unit number", "A persistent binding set request included a local SCSI ID that was already bound", "A persistent binding request included a bad or unlocatable FCP Target FCID", "A persistent binding request included a bad FCP Target Node WWN", "A persistent binding request included a bad FCP Target Port WWN", "A persistent binding request included an FCP Logical Unit Number not defined by the identified Target", "A persistent binding request included an undefined or otherwise in accessible Logical Unit Unique Identifier", "A persistent binding remove request included a binding which did not match a binding established by the specified port", "A SCSI command was requested to an Nx_Port that was not a SCSI Target Port", "A request was made concerning an unsupported FC-4 protocol", "A request was made to enable unimplemented capabilities for a port", "SCSI target is busy", "A call was made to HBA_FreeLibrary when no library was loaded", "A call was made to HBA_LoadLibrary when a library was already loaded", "FCID passed into HBA_SendRNIDV2 violates access control rules"} : Amended ToSubclass] uint32 HBAStatus,[out] uint32 TotalRspBufferSize,[out] uint32 ActualRspBufferSize,[out] uint8 RspBuffer[]);
  void GetFC3MgmtInfo([out,Description("HBA Status result for the query operation") : Amended ToSubclass,Values{"Operation was successful ", "Error ", "Function not supported.", "invalid handle ", "Bad argument ", "WWN not recognized ", "Index not recognized ", "Larger buffer required ", "Information has changed since the last call to HBA_RefreshInformation ", "SCSI Check Condition reported", "Adapter busy or reserved, retry may be effective", "Request timed out, retry may be effective", "Referenced HBA has been removed or deactivated", "The requested ELS was rejected by the local adapter", "The specified LUN is not provided by the specified adapter", "An incompatibility has been detected among the library and driver modules", "Multiple adapters have a matching WWN", "A persistent binding request included a bad local SCSI bus number", "A persistent binding request included a bad local SCSI target number", "A persistent binding request included a bad local SCSI logical unit number", "A persistent binding set request included a local SCSI ID that was already bound", "A persistent binding request included a bad or unlocatable FCP Target FCID", "A persistent binding request included a bad FCP Target Node WWN", "A persistent binding request included a bad FCP Target Port WWN", "A persistent binding request included an FCP Logical Unit Number not defined by the identified Target", "A persistent binding request included an undefined or otherwise in accessible Logical Unit Unique Identifier", "A persistent binding remove request included a binding which did not match a binding established by the specified port", "A SCSI command was requested to an Nx_Port that was not a SCSI Target Port", "A request was made concerning an unsupported FC-4 protocol", "A request was made to enable unimplemented capabilities for a port", "SCSI target is busy", "A call was made to HBA_FreeLibrary when no library was loaded", "A call was made to HBA_LoadLibrary when a library was already loaded", "FCID passed into HBA_SendRNIDV2 violates access control rules"} : Amended ToSubclass] uint32 HBAStatus,[out] HBAFC3MgmtInfo MgmtInfo);
  void SetFC3MgmtInfo([in] HBAFC3MgmtInfo MgmtInfo,[out,Description("HBA Status result for the query operation") : Amended ToSubclass,Values{"Operation was successful ", "Error ", "Function not supported.", "invalid handle ", "Bad argument ", "WWN not recognized ", "Index not recognized ", "Larger buffer required ", "Information has changed since the last call to HBA_RefreshInformation ", "SCSI Check Condition reported", "Adapter busy or reserved, retry may be effective", "Request timed out, retry may be effective", "Referenced HBA has been removed or deactivated", "The requested ELS was rejected by the local adapter", "The specified LUN is not provided by the specified adapter", "An incompatibility has been detected among the library and driver modules", "Multiple adapters have a matching WWN", "A persistent binding request included a bad local SCSI bus number", "A persistent binding request included a bad local SCSI target number", "A persistent binding request included a bad local SCSI logical unit number", "A persistent binding set request included a local SCSI ID that was already bound", "A persistent binding request included a bad or unlocatable FCP Target FCID", "A persistent binding request included a bad FCP Target Node WWN", "A persistent binding request included a bad FCP Target Port WWN", "A persistent binding request included an FCP Logical Unit Number not defined by the identified Target", "A persistent binding request included an undefined or otherwise in accessible Logical Unit Unique Identifier", "A persistent binding remove request included a binding which did not match a binding established by the specified port", "A SCSI command was requested to an Nx_Port that was not a SCSI Target Port", "A request was made concerning an unsupported FC-4 protocol", "A request was made to enable unimplemented capabilities for a port", "SCSI target is busy", "A call was made to HBA_FreeLibrary when no library was loaded", "A call was made to HBA_LoadLibrary when a library was already loaded", "FCID passed into HBA_SendRNIDV2 violates access control rules"} : Amended ToSubclass] uint32 HBAStatus);
  void SendRPL([in] uint8 PortWWN[],[in] uint8 AgentWWN[],[in] uint32 agent_domain,[in] uint32 portIndex,[out,Description("HBA Status result for the query operation") : Amended ToSubclass,Values{"Operation was successful ", "Error ", "Function not supported.", "invalid handle ", "Bad argument ", "WWN not recognized ", "Index not recognized ", "Larger buffer required ", "Information has changed since the last call to HBA_RefreshInformation ", "SCSI Check Condition reported", "Adapter busy or reserved, retry may be effective", "Request timed out, retry may be effective", "Referenced HBA has been removed or deactivated", "The requested ELS was rejected by the local adapter", "The specified LUN is not provided by the specified adapter", "An incompatibility has been detected among the library and driver modules", "Multiple adapters have a matching WWN", "A persistent binding request included a bad local SCSI bus number", "A persistent binding request included a bad local SCSI target number", "A persistent binding request included a bad local SCSI logical unit number", "A persistent binding set request included a local SCSI ID that was already bound", "A persistent binding request included a bad or unlocatable FCP Target FCID", "A persistent binding request included a bad FCP Target Node WWN", "A persistent binding request included a bad FCP Target Port WWN", "A persistent binding request included an FCP Logical Unit Number not defined by the identified Target", "A persistent binding request included an undefined or otherwise in accessible Logical Unit Unique Identifier", "A persistent binding remove request included a binding which did not match a binding established by the specified port", "A SCSI command was requested to an Nx_Port that was not a SCSI Target Port", "A request was made concerning an unsupported FC-4 protocol", "A request was made to enable unimplemented capabilities for a port", "SCSI target is busy", "A call was made to HBA_FreeLibrary when no library was loaded", "A call was made to HBA_LoadLibrary when a library was already loaded", "FCID passed into HBA_SendRNIDV2 violates access control rules"} : Amended ToSubclass] uint32 HBAStatus,[out] uint32 TotalRspBufferSize,[out] uint32 ActualRspBufferSize,[out] uint8 RspBuffer[]);
  void SendRPS([in] uint8 PortWWN[],[in] uint8 AgentWWN[],[in] uint8 ObjectWWN[],[in] uint32 AgentDomain,[in] uint32 ObjectPortNumber,[out,Description("HBA Status result for the query operation") : Amended ToSubclass,Values{"Operation was successful ", "Error ", "Function not supported.", "invalid handle ", "Bad argument ", "WWN not recognized ", "Index not recognized ", "Larger buffer required ", "Information has changed since the last call to HBA_RefreshInformation ", "SCSI Check Condition reported", "Adapter busy or reserved, retry may be effective", "Request timed out, retry may be effective", "Referenced HBA has been removed or deactivated", "The requested ELS was rejected by the local adapter", "The specified LUN is not provided by the specified adapter", "An incompatibility has been detected among the library and driver modules", "Multiple adapters have a matching WWN", "A persistent binding request included a bad local SCSI bus number", "A persistent binding request included a bad local SCSI target number", "A persistent binding request included a bad local SCSI logical unit number", "A persistent binding set request included a local SCSI ID that was already bound", "A persistent binding request included a bad or unlocatable FCP Target FCID", "A persistent binding request included a bad FCP Target Node WWN", "A persistent binding request included a bad FCP Target Port WWN", "A persistent binding request included an FCP Logical Unit Number not defined by the identified Target", "A persistent binding request included an undefined or otherwise in accessible Logical Unit Unique Identifier", "A persistent binding remove request included a binding which did not match a binding established by the specified port", "A SCSI command was requested to an Nx_Port that was not a SCSI Target Port", "A request was made concerning an unsupported FC-4 protocol", "A request was made to enable unimplemented capabilities for a port", "SCSI target is busy", "A call was made to HBA_FreeLibrary when no library was loaded", "A call was made to HBA_LoadLibrary when a library was already loaded", "FCID passed into HBA_SendRNIDV2 violates access control rules"} : Amended ToSubclass] uint32 HBAStatus,[out] uint32 TotalRspBufferSize,[out] uint32 ActualRspBufferSize,[out] uint8 RspBuffer[]);
  void SendSRL([in] uint8 PortWWN[],[in] uint8 WWN[],[in] uint32 Domain,[out,Description("HBA Status result for the query operation") : Amended ToSubclass,Values{"Operation was successful ", "Error ", "Function not supported.", "invalid handle ", "Bad argument ", "WWN not recognized ", "Index not recognized ", "Larger buffer required ", "Information has changed since the last call to HBA_RefreshInformation ", "SCSI Check Condition reported", "Adapter busy or reserved, retry may be effective", "Request timed out, retry may be effective", "Referenced HBA has been removed or deactivated", "The requested ELS was rejected by the local adapter", "The specified LUN is not provided by the specified adapter", "An incompatibility has been detected among the library and driver modules", "Multiple adapters have a matching WWN", "A persistent binding request included a bad local SCSI bus number", "A persistent binding request included a bad local SCSI target number", "A persistent binding request included a bad local SCSI logical unit number", "A persistent binding set request included a local SCSI ID that was already bound", "A persistent binding request included a bad or unlocatable FCP Target FCID", "A persistent binding request included a bad FCP Target Node WWN", "A persistent binding request included a bad FCP Target Port WWN", "A persistent binding request included an FCP Logical Unit Number not defined by the identified Target", "A persistent binding request included an undefined or otherwise in accessible Logical Unit Unique Identifier", "A persistent binding remove request included a binding which did not match a binding established by the specified port", "A SCSI command was requested to an Nx_Port that was not a SCSI Target Port", "A request was made concerning an unsupported FC-4 protocol", "A request was made to enable unimplemented capabilities for a port", "SCSI target is busy", "A call was made to HBA_FreeLibrary when no library was loaded", "A call was made to HBA_LoadLibrary when a library was already loaded", "FCID passed into HBA_SendRNIDV2 violates access control rules"} : Amended ToSubclass] uint32 HBAStatus,[out] uint32 TotalRspBufferSize,[out] uint32 ActualRspBufferSize,[out] uint8 RspBuffer[]);
  void SendLIRR([in] uint8 SourceWWN[],[in] uint8 DestWWN[],[in] uint8 Function,[in] uint8 Type,[out,Description("HBA Status result for the query operation") : Amended ToSubclass,Values{"Operation was successful ", "Error ", "Function not supported.", "invalid handle ", "Bad argument ", "WWN not recognized ", "Index not recognized ", "Larger buffer required ", "Information has changed since the last call to HBA_RefreshInformation ", "SCSI Check Condition reported", "Adapter busy or reserved, retry may be effective", "Request timed out, retry may be effective", "Referenced HBA has been removed or deactivated", "The requested ELS was rejected by the local adapter", "The specified LUN is not provided by the specified adapter", "An incompatibility has been detected among the library and driver modules", "Multiple adapters have a matching WWN", "A persistent binding request included a bad local SCSI bus number", "A persistent binding request included a bad local SCSI target number", "A persistent binding request included a bad local SCSI logical unit number", "A persistent binding set request included a local SCSI ID that was already bound", "A persistent binding request included a bad or unlocatable FCP Target FCID", "A persistent binding request included a bad FCP Target Node WWN", "A persistent binding request included a bad FCP Target Port WWN", "A persistent binding request included an FCP Logical Unit Number not defined by the identified Target", "A persistent binding request included an undefined or otherwise in accessible Logical Unit Unique Identifier", "A persistent binding remove request included a binding which did not match a binding established by the specified port", "A SCSI command was requested to an Nx_Port that was not a SCSI Target Port", "A request was made concerning an unsupported FC-4 protocol", "A request was made to enable unimplemented capabilities for a port", "SCSI target is busy", "A call was made to HBA_FreeLibrary when no library was loaded", "A call was made to HBA_LoadLibrary when a library was already loaded", "FCID passed into HBA_SendRNIDV2 violates access control rules"} : Amended ToSubclass] uint32 HBAStatus,[out] uint32 TotalRspBufferSize,[out] uint32 ActualRspBufferSize,[out] uint8 RspBuffer[]);
  void GetFC4Statistics([in] uint8 PortWWN[],[in] uint8 FC4Type,[out,Description("HBA Status result for the query operation") : Amended ToSubclass,Values{"Operation was successful ", "Error ", "Function not supported.", "invalid handle ", "Bad argument ", "WWN not recognized ", "Index not recognized ", "Larger buffer required ", "Information has changed since the last call to HBA_RefreshInformation ", "SCSI Check Condition reported", "Adapter busy or reserved, retry may be effective", "Request timed out, retry may be effective", "Referenced HBA has been removed or deactivated", "The requested ELS was rejected by the local adapter", "The specified LUN is not provided by the specified adapter", "An incompatibility has been detected among the library and driver modules", "Multiple adapters have a matching WWN", "A persistent binding request included a bad local SCSI bus number", "A persistent binding request included a bad local SCSI target number", "A persistent binding request included a bad local SCSI logical unit number", "A persistent binding set request included a local SCSI ID that was already bound", "A persistent binding request included a bad or unlocatable FCP Target FCID", "A persistent binding request included a bad FCP Target Node WWN", "A persistent binding request included a bad FCP Target Port WWN", "A persistent binding request included an FCP Logical Unit Number not defined by the identified Target", "A persistent binding request included an undefined or otherwise in accessible Logical Unit Unique Identifier", "A persistent binding remove request included a binding which did not match a binding established by the specified port", "A SCSI command was requested to an Nx_Port that was not a SCSI Target Port", "A request was made concerning an unsupported FC-4 protocol", "A request was made to enable unimplemented capabilities for a port", "SCSI target is busy", "A call was made to HBA_FreeLibrary when no library was loaded", "A call was made to HBA_LoadLibrary when a library was already loaded", "FCID passed into HBA_SendRNIDV2 violates access control rules"} : Amended ToSubclass] uint32 HBAStatus,[out] MSFC_FC4STATISTICS FC4Statistics);
  void GetFCPStatistics([in] HBAScsiID ScsiId,[out,Description("HBA Status result for the query operation") : Amended ToSubclass,Values{"Operation was successful ", "Error ", "Function not supported.", "invalid handle ", "Bad argument ", "WWN not recognized ", "Index not recognized ", "Larger buffer required ", "Information has changed since the last call to HBA_RefreshInformation ", "SCSI Check Condition reported", "Adapter busy or reserved, retry may be effective", "Request timed out, retry may be effective", "Referenced HBA has been removed or deactivated", "The requested ELS was rejected by the local adapter", "The specified LUN is not provided by the specified adapter", "An incompatibility has been detected among the library and driver modules", "Multiple adapters have a matching WWN", "A persistent binding request included a bad local SCSI bus number", "A persistent binding request included a bad local SCSI target number", "A persistent binding request included a bad local SCSI logical unit number", "A persistent binding set request included a local SCSI ID that was already bound", "A persistent binding request included a bad or unlocatable FCP Target FCID", "A persistent binding request included a bad FCP Target Node WWN", "A persistent binding request included a bad FCP Target Port WWN", "A persistent binding request included an FCP Logical Unit Number not defined by the identified Target", "A persistent binding request included an undefined or otherwise in accessible Logical Unit Unique Identifier", "A persistent binding remove request included a binding which did not match a binding established by the specified port", "A SCSI command was requested to an Nx_Port that was not a SCSI Target Port", "A request was made concerning an unsupported FC-4 protocol", "A request was made to enable unimplemented capabilities for a port", "SCSI target is busy", "A call was made to HBA_FreeLibrary when no library was loaded", "A call was made to HBA_LoadLibrary when a library was already loaded", "FCID passed into HBA_SendRNIDV2 violates access control rules"} : Amended ToSubclass] uint32 HBAStatus,[out] MSFC_FC4STATISTICS FC4Statistics);
  void ScsiInquiry([in] uint8 Cdb[],[in] uint8 HbaPortWWN[],[in] uint8 DiscoveredPortWWN[],[in] uint64 FcLun,[out,Description("HBA Status result for the query operation") : Amended ToSubclass,Values{"Operation was successful ", "Error ", "Function not supported.", "invalid handle ", "Bad argument ", "WWN not recognized ", "Index not recognized ", "Larger buffer required ", "Information has changed since the last call to HBA_RefreshInformation ", "SCSI Check Condition reported", "Adapter busy or reserved, retry may be effective", "Request timed out, retry may be effective", "Referenced HBA has been removed or deactivated", "The requested ELS was rejected by the local adapter", "The specified LUN is not provided by the specified adapter", "An incompatibility has been detected among the library and driver modules", "Multiple adapters have a matching WWN", "A persistent binding request included a bad local SCSI bus number", "A persistent binding request included a bad local SCSI target number", "A persistent binding request included a bad local SCSI logical unit number", "A persistent binding set request included a local SCSI ID that was already bound", "A persistent binding request included a bad or unlocatable FCP Target FCID", "A persistent binding request included a bad FCP Target Node WWN", "A persistent binding request included a bad FCP Target Port WWN", "A persistent binding request included an FCP Logical Unit Number not defined by the identified Target", "A persistent binding request included an undefined or otherwise in accessible Logical Unit Unique Identifier", "A persistent binding remove request included a binding which did not match a binding established by the specified port", "A SCSI command was requested to an Nx_Port that was not a SCSI Target Port", "A request was made concerning an unsupported FC-4 protocol", "A request was made to enable unimplemented capabilities for a port", "SCSI target is busy", "A call was made to HBA_FreeLibrary when no library was loaded", "A call was made to HBA_LoadLibrary when a library was already loaded", "FCID passed into HBA_SendRNIDV2 violates access control rules"} : Amended ToSubclass] uint32 HBAStatus,[out] uint32 ResponseBufferSize,[out] uint32 SenseBufferSize,[out] uint8 ScsiStatus,[out] uint8 ResponseBuffer[],[out] uint8 SenseBuffer[]);
  void ScsiReadCapacity([in] uint8 Cdb[],[in] uint8 HbaPortWWN[],[in] uint8 DiscoveredPortWWN[],[in] uint64 FcLun,[out,Description("HBA Status result for the query operation") : Amended ToSubclass,Values{"Operation was successful ", "Error ", "Function not supported.", "invalid handle ", "Bad argument ", "WWN not recognized ", "Index not recognized ", "Larger buffer required ", "Information has changed since the last call to HBA_RefreshInformation ", "SCSI Check Condition reported", "Adapter busy or reserved, retry may be effective", "Request timed out, retry may be effective", "Referenced HBA has been removed or deactivated", "The requested ELS was rejected by the local adapter", "The specified LUN is not provided by the specified adapter", "An incompatibility has been detected among the library and driver modules", "Multiple adapters have a matching WWN", "A persistent binding request included a bad local SCSI bus number", "A persistent binding request included a bad local SCSI target number", "A persistent binding request included a bad local SCSI logical unit number", "A persistent binding set request included a local SCSI ID that was already bound", "A persistent binding request included a bad or unlocatable FCP Target FCID", "A persistent binding request included a bad FCP Target Node WWN", "A persistent binding request included a bad FCP Target Port WWN", "A persistent binding request included an FCP Logical Unit Number not defined by the identified Target", "A persistent binding request included an undefined or otherwise in accessible Logical Unit Unique Identifier", "A persistent binding remove request included a binding which did not match a binding established by the specified port", "A SCSI command was requested to an Nx_Port that was not a SCSI Target Port", "A request was made concerning an unsupported FC-4 protocol", "A request was made to enable unimplemented capabilities for a port", "SCSI target is busy", "A call was made to HBA_FreeLibrary when no library was loaded", "A call was made to HBA_LoadLibrary when a library was already loaded", "FCID passed into HBA_SendRNIDV2 violates access control rules"} : Amended ToSubclass] uint32 HBAStatus,[out] uint32 ResponseBufferSize,[out] uint32 SenseBufferSize,[out] uint8 ScsiStatus,[out] uint8 ResponseBuffer[],[out] uint8 SenseBuffer[]);
  void ScsiReportLuns([in] uint8 Cdb[],[in] uint8 HbaPortWWN[],[in] uint8 DiscoveredPortWWN[],[out,Description("HBA Status result for the query operation") : Amended ToSubclass,Values{"Operation was successful ", "Error ", "Function not supported.", "invalid handle ", "Bad argument ", "WWN not recognized ", "Index not recognized ", "Larger buffer required ", "Information has changed since the last call to HBA_RefreshInformation ", "SCSI Check Condition reported", "Adapter busy or reserved, retry may be effective", "Request timed out, retry may be effective", "Referenced HBA has been removed or deactivated", "The requested ELS was rejected by the local adapter", "The specified LUN is not provided by the specified adapter", "An incompatibility has been detected among the library and driver modules", "Multiple adapters have a matching WWN", "A persistent binding request included a bad local SCSI bus number", "A persistent binding request included a bad local SCSI target number", "A persistent binding request included a bad local SCSI logical unit number", "A persistent binding set request included a local SCSI ID that was already bound", "A persistent binding request included a bad or unlocatable FCP Target FCID", "A persistent binding request included a bad FCP Target Node WWN", "A persistent binding request included a bad FCP Target Port WWN", "A persistent binding request included an FCP Logical Unit Number not defined by the identified Target", "A persistent binding request included an undefined or otherwise in accessible Logical Unit Unique Identifier", "A persistent binding remove request included a binding which did not match a binding established by the specified port", "A SCSI command was requested to an Nx_Port that was not a SCSI Target Port", "A request was made concerning an unsupported FC-4 protocol", "A request was made to enable unimplemented capabilities for a port", "SCSI target is busy", "A call was made to HBA_FreeLibrary when no library was loaded", "A call was made to HBA_LoadLibrary when a library was already loaded", "FCID passed into HBA_SendRNIDV2 violates access control rules"} : Amended ToSubclass] uint32 HBAStatus,[out] uint32 ResponseBufferSize,[out] uint32 SenseBufferSize,[out] uint8 ScsiStatus,[out] uint8 ResponseBuffer[],[out] uint8 SenseBuffer[]);
  void GetEventBuffer([out,Description("HBA Status result for the query operation") : Amended ToSubclass,Values{"Operation was successful ", "Error ", "Function not supported.", "invalid handle ", "Bad argument ", "WWN not recognized ", "Index not recognized ", "Larger buffer required ", "Information has changed since the last call to HBA_RefreshInformation ", "SCSI Check Condition reported", "Adapter busy or reserved, retry may be effective", "Request timed out, retry may be effective", "Referenced HBA has been removed or deactivated", "The requested ELS was rejected by the local adapter", "The specified LUN is not provided by the specified adapter", "An incompatibility has been detected among the library and driver modules", "Multiple adapters have a matching WWN", "A persistent binding request included a bad local SCSI bus number", "A persistent binding request included a bad local SCSI target number", "A persistent binding request included a bad local SCSI logical unit number", "A persistent binding set request included a local SCSI ID that was already bound", "A persistent binding request included a bad or unlocatable FCP Target FCID", "A persistent binding request included a bad FCP Target Node WWN", "A persistent binding request included a bad FCP Target Port WWN", "A persistent binding request included an FCP Logical Unit Number not defined by the identified Target", "A persistent binding request included an undefined or otherwise in accessible Logical Unit Unique Identifier", "A persistent binding remove request included a binding which did not match a binding established by the specified port", "A SCSI command was requested to an Nx_Port that was not a SCSI Target Port", "A request was made concerning an unsupported FC-4 protocol", "A request was made to enable unimplemented capabilities for a port", "SCSI target is busy", "A call was made to HBA_FreeLibrary when no library was loaded", "A call was made to HBA_LoadLibrary when a library was already loaded", "FCID passed into HBA_SendRNIDV2 violates access control rules"} : Amended ToSubclass] uint32 HBAStatus,[out] uint32 EventCount,[out] MSFC_EventBuffer Events[]);
  void SendRLS([in] uint8 PortWWN[],[in] uint8 DestWWN[],[out,Description("HBA Status result for the query operation") : Amended ToSubclass,Values{"Operation was successful ", "Error ", "Function not supported.", "invalid handle ", "Bad argument ", "WWN not recognized ", "Index not recognized ", "Larger buffer required ", "Information has changed since the last call to HBA_RefreshInformation ", "SCSI Check Condition reported", "Adapter busy or reserved, retry may be effective", "Request timed out, retry may be effective", "Referenced HBA has been removed or deactivated", "The requested ELS was rejected by the local adapter", "The specified LUN is not provided by the specified adapter", "An incompatibility has been detected among the library and driver modules", "Multiple adapters have a matching WWN", "A persistent binding request included a bad local SCSI bus number", "A persistent binding request included a bad local SCSI target number", "A persistent binding request included a bad local SCSI logical unit number", "A persistent binding set request included a local SCSI ID that was already bound", "A persistent binding request included a bad or unlocatable FCP Target FCID", "A persistent binding request included a bad FCP Target Node WWN", "A persistent binding request included a bad FCP Target Port WWN", "A persistent binding request included an FCP Logical Unit Number not defined by the identified Target", "A persistent binding request included an undefined or otherwise in accessible Logical Unit Unique Identifier", "A persistent binding remove request included a binding which did not match a binding established by the specified port", "A SCSI command was requested to an Nx_Port that was not a SCSI Target Port", "A request was made concerning an unsupported FC-4 protocol", "A request was made to enable unimplemented capabilities for a port", "SCSI target is busy", "A call was made to HBA_FreeLibrary when no library was loaded", "A call was made to HBA_LoadLibrary when a library was already loaded", "FCID passed into HBA_SendRNIDV2 violates access control rules"} : Amended ToSubclass] uint32 HBAStatus,[out] uint32 TotalRspBufferSize,[out] uint32 ActualRspBufferSize,[out] uint8 RspBuffer[]);
};

[AMENDMENT, LOCALE(0x0804)] 
class HBAFCPBindingEntry
{
  [Values{"TO_D_ID", "TO_WWN", "TO_OTHER"} : Amended ToSubclass] uint32 Type;
};

[AMENDMENT, LOCALE(0x0804)] 
class HBAFCPBindingEntry2
{
  [Description("执行永久性绑定的方式") : Amended ToSubclass] uint32 Type;
};

[Description("此类公开与光纤通道适配器上的 FCP 关联的操作。每个适配器应有一个此类的实例。") : Amended ToSubclass,AMENDMENT, LOCALE(0x0804)] 
class MSFC_HBAFCPInfo
{
  void GetFcpTargetMapping([in] uint8 HbaPortWWN[],[in] uint32 InEntryCount,[out,Description("HBA Status result for the query operation") : Amended ToSubclass,Values{"Operation was successful ", "Error ", "Function not supported.", "invalid handle ", "Bad argument ", "WWN not recognized ", "Index not recognized ", "Larger buffer required ", "Information has changed since the last call to HBA_RefreshInformation ", "SCSI Check Condition reported", "Adapter busy or reserved, retry may be effective", "Request timed out, retry may be effective", "Referenced HBA has been removed or deactivated", "The requested ELS was rejected by the local adapter", "The specified LUN is not provided by the specified adapter", "An incompatibility has been detected among the library and driver modules", "Multiple adapters have a matching WWN", "A persistent binding request included a bad local SCSI bus number", "A persistent binding request included a bad local SCSI target number", "A persistent binding request included a bad local SCSI logical unit number", "A persistent binding set request included a local SCSI ID that was already bound", "A persistent binding request included a bad or unlocatable FCP Target FCID", "A persistent binding request included a bad FCP Target Node WWN", "A persistent binding request included a bad FCP Target Port WWN", "A persistent binding request included an FCP Logical Unit Number not defined by the identified Target", "A persistent binding request included an undefined or otherwise in accessible Logical Unit Unique Identifier", "A persistent binding remove request included a binding which did not match a binding established by the specified port", "A SCSI command was requested to an Nx_Port that was not a SCSI Target Port", "A request was made concerning an unsupported FC-4 protocol", "A request was made to enable unimplemented capabilities for a port", "SCSI target is busy", "A call was made to HBA_FreeLibrary when no library was loaded", "A call was made to HBA_LoadLibrary when a library was already loaded", "FCID passed into HBA_SendRNIDV2 violates access control rules"} : Amended ToSubclass] uint32 HBAStatus,[out] uint32 TotalEntryCount,[out] uint32 OutEntryCount,[out] HBAFCPScsiEntry Entry[]);
  void GetFcpPersistentBinding([in] uint32 InEntryCount,[out,Description("HBA Status result for the query operation") : Amended ToSubclass,Values{"Operation was successful ", "Error ", "Function not supported.", "invalid handle ", "Bad argument ", "WWN not recognized ", "Index not recognized ", "Larger buffer required ", "Information has changed since the last call to HBA_RefreshInformation ", "SCSI Check Condition reported", "Adapter busy or reserved, retry may be effective", "Request timed out, retry may be effective", "Referenced HBA has been removed or deactivated", "The requested ELS was rejected by the local adapter", "The specified LUN is not provided by the specified adapter", "An incompatibility has been detected among the library and driver modules", "Multiple adapters have a matching WWN", "A persistent binding request included a bad local SCSI bus number", "A persistent binding request included a bad local SCSI target number", "A persistent binding request included a bad local SCSI logical unit number", "A persistent binding set request included a local SCSI ID that was already bound", "A persistent binding request included a bad or unlocatable FCP Target FCID", "A persistent binding request included a bad FCP Target Node WWN", "A persistent binding request included a bad FCP Target Port WWN", "A persistent binding request included an FCP Logical Unit Number not defined by the identified Target", "A persistent binding request included an undefined or otherwise in accessible Logical Unit Unique Identifier", "A persistent binding remove request included a binding which did not match a binding established by the specified port", "A SCSI command was requested to an Nx_Port that was not a SCSI Target Port", "A request was made concerning an unsupported FC-4 protocol", "A request was made to enable unimplemented capabilities for a port", "SCSI target is busy", "A call was made to HBA_FreeLibrary when no library was loaded", "A call was made to HBA_LoadLibrary when a library was already loaded", "FCID passed into HBA_SendRNIDV2 violates access control rules"} : Amended ToSubclass] uint32 HBAStatus,[out] uint32 TotalEntryCount,[out] uint32 OutEntryCount,[out] HBAFCPBindingEntry Entry[]);
  void GetBindingCapability([in] uint8 PortWWN[],[out,Description("HBA Status result for the query operation") : Amended ToSubclass,Values{"Operation was successful ", "Error ", "Function not supported.", "invalid handle ", "Bad argument ", "WWN not recognized ", "Index not recognized ", "Larger buffer required ", "Information has changed since the last call to HBA_RefreshInformation ", "SCSI Check Condition reported", "Adapter busy or reserved, retry may be effective", "Request timed out, retry may be effective", "Referenced HBA has been removed or deactivated", "The requested ELS was rejected by the local adapter", "The specified LUN is not provided by the specified adapter", "An incompatibility has been detected among the library and driver modules", "Multiple adapters have a matching WWN", "A persistent binding request included a bad local SCSI bus number", "A persistent binding request included a bad local SCSI target number", "A persistent binding request included a bad local SCSI logical unit number", "A persistent binding set request included a local SCSI ID that was already bound", "A persistent binding request included a bad or unlocatable FCP Target FCID", "A persistent binding request included a bad FCP Target Node WWN", "A persistent binding request included a bad FCP Target Port WWN", "A persistent binding request included an FCP Logical Unit Number not defined by the identified Target", "A persistent binding request included an undefined or otherwise in accessible Logical Unit Unique Identifier", "A persistent binding remove request included a binding which did not match a binding established by the specified port", "A SCSI command was requested to an Nx_Port that was not a SCSI Target Port", "A request was made concerning an unsupported FC-4 protocol", "A request was made to enable unimplemented capabilities for a port", "SCSI target is busy", "A call was made to HBA_FreeLibrary when no library was loaded", "A call was made to HBA_LoadLibrary when a library was already loaded", "FCID passed into HBA_SendRNIDV2 violates access control rules"} : Amended ToSubclass] uint32 HBAStatus,[out,Description("Ways of performing persistent binding") : Amended ToSubclass] uint32 BindType);
  void GetBindingSupport([in] uint8 PortWWN[],[out,Description("HBA Status result for the query operation") : Amended ToSubclass,Values{"Operation was successful ", "Error ", "Function not supported.", "invalid handle ", "Bad argument ", "WWN not recognized ", "Index not recognized ", "Larger buffer required ", "Information has changed since the last call to HBA_RefreshInformation ", "SCSI Check Condition reported", "Adapter busy or reserved, retry may be effective", "Request timed out, retry may be effective", "Referenced HBA has been removed or deactivated", "The requested ELS was rejected by the local adapter", "The specified LUN is not provided by the specified adapter", "An incompatibility has been detected among the library and driver modules", "Multiple adapters have a matching WWN", "A persistent binding request included a bad local SCSI bus number", "A persistent binding request included a bad local SCSI target number", "A persistent binding request included a bad local SCSI logical unit number", "A persistent binding set request included a local SCSI ID that was already bound", "A persistent binding request included a bad or unlocatable FCP Target FCID", "A persistent binding request included a bad FCP Target Node WWN", "A persistent binding request included a bad FCP Target Port WWN", "A persistent binding request included an FCP Logical Unit Number not defined by the identified Target", "A persistent binding request included an undefined or otherwise in accessible Logical Unit Unique Identifier", "A persistent binding remove request included a binding which did not match a binding established by the specified port", "A SCSI command was requested to an Nx_Port that was not a SCSI Target Port", "A request was made concerning an unsupported FC-4 protocol", "A request was made to enable unimplemented capabilities for a port", "SCSI target is busy", "A call was made to HBA_FreeLibrary when no library was loaded", "A call was made to HBA_LoadLibrary when a library was already loaded", "FCID passed into HBA_SendRNIDV2 violates access control rules"} : Amended ToSubclass] uint32 HBAStatus,[out,Description("Ways of performing persistent binding") : Amended ToSubclass] uint32 BindType);
  void SetBindingSupport([in] uint8 PortWWN[],[in,Description("Ways of performing persistent binding") : Amended ToSubclass] uint32 BindType,[out,Description("HBA Status result for the query operation") : Amended ToSubclass,Values{"Operation was successful ", "Error ", "Function not supported.", "invalid handle ", "Bad argument ", "WWN not recognized ", "Index not recognized ", "Larger buffer required ", "Information has changed since the last call to HBA_RefreshInformation ", "SCSI Check Condition reported", "Adapter busy or reserved, retry may be effective", "Request timed out, retry may be effective", "Referenced HBA has been removed or deactivated", "The requested ELS was rejected by the local adapter", "The specified LUN is not provided by the specified adapter", "An incompatibility has been detected among the library and driver modules", "Multiple adapters have a matching WWN", "A persistent binding request included a bad local SCSI bus number", "A persistent binding request included a bad local SCSI target number", "A persistent binding request included a bad local SCSI logical unit number", "A persistent binding set request included a local SCSI ID that was already bound", "A persistent binding request included a bad or unlocatable FCP Target FCID", "A persistent binding request included a bad FCP Target Node WWN", "A persistent binding request included a bad FCP Target Port WWN", "A persistent binding request included an FCP Logical Unit Number not defined by the identified Target", "A persistent binding request included an undefined or otherwise in accessible Logical Unit Unique Identifier", "A persistent binding remove request included a binding which did not match a binding established by the specified port", "A SCSI command was requested to an Nx_Port that was not a SCSI Target Port", "A request was made concerning an unsupported FC-4 protocol", "A request was made to enable unimplemented capabilities for a port", "SCSI target is busy", "A call was made to HBA_FreeLibrary when no library was loaded", "A call was made to HBA_LoadLibrary when a library was already loaded", "FCID passed into HBA_SendRNIDV2 violates access control rules"} : Amended ToSubclass] uint32 HBAStatus);
  void GetPersistentBinding2([in] uint8 PortWWN[],[in] uint32 InEntryCount,[out,Description("HBA Status result for the query operation") : Amended ToSubclass,Values{"Operation was successful ", "Error ", "Function not supported.", "invalid handle ", "Bad argument ", "WWN not recognized ", "Index not recognized ", "Larger buffer required ", "Information has changed since the last call to HBA_RefreshInformation ", "SCSI Check Condition reported", "Adapter busy or reserved, retry may be effective", "Request timed out, retry may be effective", "Referenced HBA has been removed or deactivated", "The requested ELS was rejected by the local adapter", "The specified LUN is not provided by the specified adapter", "An incompatibility has been detected among the library and driver modules", "Multiple adapters have a matching WWN", "A persistent binding request included a bad local SCSI bus number", "A persistent binding request included a bad local SCSI target number", "A persistent binding request included a bad local SCSI logical unit number", "A persistent binding set request included a local SCSI ID that was already bound", "A persistent binding request included a bad or unlocatable FCP Target FCID", "A persistent binding request included a bad FCP Target Node WWN", "A persistent binding request included a bad FCP Target Port WWN", "A persistent binding request included an FCP Logical Unit Number not defined by the identified Target", "A persistent binding request included an undefined or otherwise in accessible Logical Unit Unique Identifier", "A persistent binding remove request included a binding which did not match a binding established by the specified port", "A SCSI command was requested to an Nx_Port that was not a SCSI Target Port", "A request was made concerning an unsupported FC-4 protocol", "A request was made to enable unimplemented capabilities for a port", "SCSI target is busy", "A call was made to HBA_FreeLibrary when no library was loaded", "A call was made to HBA_LoadLibrary when a library was already loaded", "FCID passed into HBA_SendRNIDV2 violates access control rules"} : Amended ToSubclass] uint32 HBAStatus,[out] uint32 TotalEntryCount,[out] uint32 OutEntryCount,[out] HBAFCPBindingEntry2 Bindings[]);
  void SetPersistentEntry([in] uint8 PortWWN[],[in] HBAFCPBindingEntry2 Binding,[out,Description("HBA Status result for the query operation") : Amended ToSubclass,Values{"Operation was successful ", "Error ", "Function not supported.", "invalid handle ", "Bad argument ", "WWN not recognized ", "Index not recognized ", "Larger buffer required ", "Information has changed since the last call to HBA_RefreshInformation ", "SCSI Check Condition reported", "Adapter busy or reserved, retry may be effective", "Request timed out, retry may be effective", "Referenced HBA has been removed or deactivated", "The requested ELS was rejected by the local adapter", "The specified LUN is not provided by the specified adapter", "An incompatibility has been detected among the library and driver modules", "Multiple adapters have a matching WWN", "A persistent binding request included a bad local SCSI bus number", "A persistent binding request included a bad local SCSI target number", "A persistent binding request included a bad local SCSI logical unit number", "A persistent binding set request included a local SCSI ID that was already bound", "A persistent binding request included a bad or unlocatable FCP Target FCID", "A persistent binding request included a bad FCP Target Node WWN", "A persistent binding request included a bad FCP Target Port WWN", "A persistent binding request included an FCP Logical Unit Number not defined by the identified Target", "A persistent binding request included an undefined or otherwise in accessible Logical Unit Unique Identifier", "A persistent binding remove request included a binding which did not match a binding established by the specified port", "A SCSI command was requested to an Nx_Port that was not a SCSI Target Port", "A request was made concerning an unsupported FC-4 protocol", "A request was made to enable unimplemented capabilities for a port", "SCSI target is busy", "A call was made to HBA_FreeLibrary when no library was loaded", "A call was made to HBA_LoadLibrary when a library was already loaded", "FCID passed into HBA_SendRNIDV2 violates access control rules"} : Amended ToSubclass] uint32 HBAStatus);
  void RemovePersistentEntry([in] uint8 PortWWN[],[in] HBAFCPBindingEntry2 Binding,[out,Description("HBA Status result for the query operation") : Amended ToSubclass,Values{"Operation was successful ", "Error ", "Function not supported.", "invalid handle ", "Bad argument ", "WWN not recognized ", "Index not recognized ", "Larger buffer required ", "Information has changed since the last call to HBA_RefreshInformation ", "SCSI Check Condition reported", "Adapter busy or reserved, retry may be effective", "Request timed out, retry may be effective", "Referenced HBA has been removed or deactivated", "The requested ELS was rejected by the local adapter", "The specified LUN is not provided by the specified adapter", "An incompatibility has been detected among the library and driver modules", "Multiple adapters have a matching WWN", "A persistent binding request included a bad local SCSI bus number", "A persistent binding request included a bad local SCSI target number", "A persistent binding request included a bad local SCSI logical unit number", "A persistent binding set request included a local SCSI ID that was already bound", "A persistent binding request included a bad or unlocatable FCP Target FCID", "A persistent binding request included a bad FCP Target Node WWN", "A persistent binding request included a bad FCP Target Port WWN", "A persistent binding request included an FCP Logical Unit Number not defined by the identified Target", "A persistent binding request included an undefined or otherwise in accessible Logical Unit Unique Identifier", "A persistent binding remove request included a binding which did not match a binding established by the specified port", "A SCSI command was requested to an Nx_Port that was not a SCSI Target Port", "A request was made concerning an unsupported FC-4 protocol", "A request was made to enable unimplemented capabilities for a port", "SCSI target is busy", "A call was made to HBA_FreeLibrary when no library was loaded", "A call was made to HBA_LoadLibrary when a library was already loaded", "FCID passed into HBA_SendRNIDV2 violates access control rules"} : Amended ToSubclass] uint32 HBAStatus);
};

[Description("此类使 HBA 适配器事件出现") : Amended ToSubclass,AMENDMENT, LOCALE(0x0804)] 
class MSFC_AdapterEvent : WMIEvent
{
  [Description("事件类型") : Amended ToSubclass] uint32 EventType;
  [Description("适配器 WWN") : Amended ToSubclass] uint8 PortWWN[];
};

[Description("此类使 HBA 端口事件出现") : Amended ToSubclass,AMENDMENT, LOCALE(0x0804)] 
class MSFC_PortEvent : WMIEvent
{
  [Description("事件类型") : Amended ToSubclass,Values{"HBA_EVENT_ADAPTER_UNKNOWN", "HBA_EVENT_ADAPTER_ADD", "HBA_EVENT_ADAPTER_REMOVE", "HBA_EVENT_ADAPTER_CHANGE", "HBA_EVENT_PORT_UNKNOWN", "HBA_EVENT_PORT_OFFLINE", "HBA_EVENT_PORT_ONLINE", "HBA_EVENT_PORT_NEW_TARGETS", "HBA_EVENT_PORT_FABRIC", "HBA_EVENT_PORT_BROADCAST_CHANGE", "HBA_EVENT_PORT_BROADCAST_D24_0", "HBA_EVENT_PORT_BROADCAST_D27_4", "HBA_EVENT_PORT_BROADCAST_SES", "HBA_EVENT_PORT_BROADCAST_D01_4", "HBA_EVENT_PORT_BROADCAST_D04_7", "HBA_EVENT_PORT_BROADCAST_D16_7", "HBA_EVENT_PORT_BROADCAST_D29_7", "HBA_EVENT_PORT_ALL", "HBA_EVENT_PORT_STAT_THRESHOLD", "HBA_EVENT_PORT_STAT_GROWTH", "HBA_EVENT_PHY_STAT_THRESHOLD", "HBA_EVENT_PHY_STAT_GROWTH", "HBA_EVENT_TARGET_UNKNOWN", "HBA_EVENT_TARGET_OFFLINE", "HBA_EVENT_TARGET_ONLINE", "HBA_EVENT_TARGET_REMOVED", "HBA_EVENT_LINK_UNKNOWN", "HBA_EVENT_LINK_INCIDENT"} : Amended ToSubclass] uint32 EventType;
  [Description("光纤端口 ID") : Amended ToSubclass] uint32 FabricPortId;
  [Description("端口 WWN") : Amended ToSubclass] uint8 PortWWN[];
};

[Description("此类使 HBA 目标事件出现") : Amended ToSubclass,AMENDMENT, LOCALE(0x0804)] 
class MSFC_TargetEvent : WmiEvent
{
  [Description("事件类型") : Amended ToSubclass,Values{"HBA_EVENT_ADAPTER_UNKNOWN", "HBA_EVENT_ADAPTER_ADD", "HBA_EVENT_ADAPTER_REMOVE", "HBA_EVENT_ADAPTER_CHANGE", "HBA_EVENT_PORT_UNKNOWN", "HBA_EVENT_PORT_OFFLINE", "HBA_EVENT_PORT_ONLINE", "HBA_EVENT_PORT_NEW_TARGETS", "HBA_EVENT_PORT_FABRIC", "HBA_EVENT_PORT_BROADCAST_CHANGE", "HBA_EVENT_PORT_BROADCAST_D24_0", "HBA_EVENT_PORT_BROADCAST_D27_4", "HBA_EVENT_PORT_BROADCAST_SES", "HBA_EVENT_PORT_BROADCAST_D01_4", "HBA_EVENT_PORT_BROADCAST_D04_7", "HBA_EVENT_PORT_BROADCAST_D16_7", "HBA_EVENT_PORT_BROADCAST_D29_7", "HBA_EVENT_PORT_ALL", "HBA_EVENT_PORT_STAT_THRESHOLD", "HBA_EVENT_PORT_STAT_GROWTH", "HBA_EVENT_PHY_STAT_THRESHOLD", "HBA_EVENT_PHY_STAT_GROWTH", "HBA_EVENT_TARGET_UNKNOWN", "HBA_EVENT_TARGET_OFFLINE", "HBA_EVENT_TARGET_ONLINE", "HBA_EVENT_TARGET_REMOVED", "HBA_EVENT_LINK_UNKNOWN", "HBA_EVENT_LINK_INCIDENT"} : Amended ToSubclass] uint32 EventType;
  [Description("端口 WWN") : Amended ToSubclass] uint8 PortWWN[];
  [Description("发现的端口 WWN") : Amended ToSubclass] uint8 DiscoveredPortWWN[];
};

[Description("此类定义了将导致 HBA_EVENT_PORT_STAT_THRESHOLD 事件发生的端口统计信息阈值") : Amended ToSubclass,AMENDMENT, LOCALE(0x0804)] 
class MSFC_EventControl
{
  void AddTarget([in] uint8 HbaPortWWN[],[in] uint8 DiscoveredPortWWN[],[in] uint32 AllTargets,[out,Description("HBA Status result for the query operation") : Amended ToSubclass,Values{"Operation was successful ", "Error ", "Function not supported.", "invalid handle ", "Bad argument ", "WWN not recognized ", "Index not recognized ", "Larger buffer required ", "Information has changed since the last call to HBA_RefreshInformation ", "SCSI Check Condition reported", "Adapter busy or reserved, retry may be effective", "Request timed out, retry may be effective", "Referenced HBA has been removed or deactivated", "The requested ELS was rejected by the local adapter", "The specified LUN is not provided by the specified adapter", "An incompatibility has been detected among the library and driver modules", "Multiple adapters have a matching WWN", "A persistent binding request included a bad local SCSI bus number", "A persistent binding request included a bad local SCSI target number", "A persistent binding request included a bad local SCSI logical unit number", "A persistent binding set request included a local SCSI ID that was already bound", "A persistent binding request included a bad or unlocatable FCP Target FCID", "A persistent binding request included a bad FCP Target Node WWN", "A persistent binding request included a bad FCP Target Port WWN", "A persistent binding request included an FCP Logical Unit Number not defined by the identified Target", "A persistent binding request included an undefined or otherwise in accessible Logical Unit Unique Identifier", "A persistent binding remove request included a binding which did not match a binding established by the specified port", "A SCSI command was requested to an Nx_Port that was not a SCSI Target Port", "A request was made concerning an unsupported FC-4 protocol", "A request was made to enable unimplemented capabilities for a port", "SCSI target is busy", "A call was made to HBA_FreeLibrary when no library was loaded", "A call was made to HBA_LoadLibrary when a library was already loaded", "FCID passed into HBA_SendRNIDV2 violates access control rules"} : Amended ToSubclass] uint32 HBAStatus);
  void RemoveTarget([in] uint8 HbaPortWWN[],[in] uint8 DiscoveredPortWWN[],[in] uint32 AllTargets,[out,Description("HBA Status result for the query operation") : Amended ToSubclass,Values{"Operation was successful ", "Error ", "Function not supported.", "invalid handle ", "Bad argument ", "WWN not recognized ", "Index not recognized ", "Larger buffer required ", "Information has changed since the last call to HBA_RefreshInformation ", "SCSI Check Condition reported", "Adapter busy or reserved, retry may be effective", "Request timed out, retry may be effective", "Referenced HBA has been removed or deactivated", "The requested ELS was rejected by the local adapter", "The specified LUN is not provided by the specified adapter", "An incompatibility has been detected among the library and driver modules", "Multiple adapters have a matching WWN", "A persistent binding request included a bad local SCSI bus number", "A persistent binding request included a bad local SCSI target number", "A persistent binding request included a bad local SCSI logical unit number", "A persistent binding set request included a local SCSI ID that was already bound", "A persistent binding request included a bad or unlocatable FCP Target FCID", "A persistent binding request included a bad FCP Target Node WWN", "A persistent binding request included a bad FCP Target Port WWN", "A persistent binding request included an FCP Logical Unit Number not defined by the identified Target", "A persistent binding request included an undefined or otherwise in accessible Logical Unit Unique Identifier", "A persistent binding remove request included a binding which did not match a binding established by the specified port", "A SCSI command was requested to an Nx_Port that was not a SCSI Target Port", "A request was made concerning an unsupported FC-4 protocol", "A request was made to enable unimplemented capabilities for a port", "SCSI target is busy", "A call was made to HBA_FreeLibrary when no library was loaded", "A call was made to HBA_LoadLibrary when a library was already loaded", "FCID passed into HBA_SendRNIDV2 violates access control rules"} : Amended ToSubclass] uint32 HBAStatus);
  void AddPort([in] uint8 PortWWN[],[out,Description("HBA Status result for the query operation") : Amended ToSubclass,Values{"Operation was successful ", "Error ", "Function not supported.", "invalid handle ", "Bad argument ", "WWN not recognized ", "Index not recognized ", "Larger buffer required ", "Information has changed since the last call to HBA_RefreshInformation ", "SCSI Check Condition reported", "Adapter busy or reserved, retry may be effective", "Request timed out, retry may be effective", "Referenced HBA has been removed or deactivated", "The requested ELS was rejected by the local adapter", "The specified LUN is not provided by the specified adapter", "An incompatibility has been detected among the library and driver modules", "Multiple adapters have a matching WWN", "A persistent binding request included a bad local SCSI bus number", "A persistent binding request included a bad local SCSI target number", "A persistent binding request included a bad local SCSI logical unit number", "A persistent binding set request included a local SCSI ID that was already bound", "A persistent binding request included a bad or unlocatable FCP Target FCID", "A persistent binding request included a bad FCP Target Node WWN", "A persistent binding request included a bad FCP Target Port WWN", "A persistent binding request included an FCP Logical Unit Number not defined by the identified Target", "A persistent binding request included an undefined or otherwise in accessible Logical Unit Unique Identifier", "A persistent binding remove request included a binding which did not match a binding established by the specified port", "A SCSI command was requested to an Nx_Port that was not a SCSI Target Port", "A request was made concerning an unsupported FC-4 protocol", "A request was made to enable unimplemented capabilities for a port", "SCSI target is busy", "A call was made to HBA_FreeLibrary when no library was loaded", "A call was made to HBA_LoadLibrary when a library was already loaded", "FCID passed into HBA_SendRNIDV2 violates access control rules"} : Amended ToSubclass] uint32 HBAStatus);
  void RemovePort([in] uint8 PortWWN[],[out,Description("HBA Status result for the query operation") : Amended ToSubclass,Values{"Operation was successful ", "Error ", "Function not supported.", "invalid handle ", "Bad argument ", "WWN not recognized ", "Index not recognized ", "Larger buffer required ", "Information has changed since the last call to HBA_RefreshInformation ", "SCSI Check Condition reported", "Adapter busy or reserved, retry may be effective", "Request timed out, retry may be effective", "Referenced HBA has been removed or deactivated", "The requested ELS was rejected by the local adapter", "The specified LUN is not provided by the specified adapter", "An incompatibility has been detected among the library and driver modules", "Multiple adapters have a matching WWN", "A persistent binding request included a bad local SCSI bus number", "A persistent binding request included a bad local SCSI target number", "A persistent binding request included a bad local SCSI logical unit number", "A persistent binding set request included a local SCSI ID that was already bound", "A persistent binding request included a bad or unlocatable FCP Target FCID", "A persistent binding request included a bad FCP Target Node WWN", "A persistent binding request included a bad FCP Target Port WWN", "A persistent binding request included an FCP Logical Unit Number not defined by the identified Target", "A persistent binding request included an undefined or otherwise in accessible Logical Unit Unique Identifier", "A persistent binding remove request included a binding which did not match a binding established by the specified port", "A SCSI command was requested to an Nx_Port that was not a SCSI Target Port", "A request was made concerning an unsupported FC-4 protocol", "A request was made to enable unimplemented capabilities for a port", "SCSI target is busy", "A call was made to HBA_FreeLibrary when no library was loaded", "A call was made to HBA_LoadLibrary when a library was already loaded", "FCID passed into HBA_SendRNIDV2 violates access control rules"} : Amended ToSubclass] uint32 HBAStatus);
  void AddLink([out,Description("HBA Status result for the query operation") : Amended ToSubclass,Values{"Operation was successful ", "Error ", "Function not supported.", "invalid handle ", "Bad argument ", "WWN not recognized ", "Index not recognized ", "Larger buffer required ", "Information has changed since the last call to HBA_RefreshInformation ", "SCSI Check Condition reported", "Adapter busy or reserved, retry may be effective", "Request timed out, retry may be effective", "Referenced HBA has been removed or deactivated", "The requested ELS was rejected by the local adapter", "The specified LUN is not provided by the specified adapter", "An incompatibility has been detected among the library and driver modules", "Multiple adapters have a matching WWN", "A persistent binding request included a bad local SCSI bus number", "A persistent binding request included a bad local SCSI target number", "A persistent binding request included a bad local SCSI logical unit number", "A persistent binding set request included a local SCSI ID that was already bound", "A persistent binding request included a bad or unlocatable FCP Target FCID", "A persistent binding request included a bad FCP Target Node WWN", "A persistent binding request included a bad FCP Target Port WWN", "A persistent binding request included an FCP Logical Unit Number not defined by the identified Target", "A persistent binding request included an undefined or otherwise in accessible Logical Unit Unique Identifier", "A persistent binding remove request included a binding which did not match a binding established by the specified port", "A SCSI command was requested to an Nx_Port that was not a SCSI Target Port", "A request was made concerning an unsupported FC-4 protocol", "A request was made to enable unimplemented capabilities for a port", "SCSI target is busy", "A call was made to HBA_FreeLibrary when no library was loaded", "A call was made to HBA_LoadLibrary when a library was already loaded", "FCID passed into HBA_SendRNIDV2 violates access control rules"} : Amended ToSubclass] uint32 HBAStatus);
  void RemoveLink([out,Description("HBA Status result for the query operation") : Amended ToSubclass,Values{"Operation was successful ", "Error ", "Function not supported.", "invalid handle ", "Bad argument ", "WWN not recognized ", "Index not recognized ", "Larger buffer required ", "Information has changed since the last call to HBA_RefreshInformation ", "SCSI Check Condition reported", "Adapter busy or reserved, retry may be effective", "Request timed out, retry may be effective", "Referenced HBA has been removed or deactivated", "The requested ELS was rejected by the local adapter", "The specified LUN is not provided by the specified adapter", "An incompatibility has been detected among the library and driver modules", "Multiple adapters have a matching WWN", "A persistent binding request included a bad local SCSI bus number", "A persistent binding request included a bad local SCSI target number", "A persistent binding request included a bad local SCSI logical unit number", "A persistent binding set request included a local SCSI ID that was already bound", "A persistent binding request included a bad or unlocatable FCP Target FCID", "A persistent binding request included a bad FCP Target Node WWN", "A persistent binding request included a bad FCP Target Port WWN", "A persistent binding request included an FCP Logical Unit Number not defined by the identified Target", "A persistent binding request included an undefined or otherwise in accessible Logical Unit Unique Identifier", "A persistent binding remove request included a binding which did not match a binding established by the specified port", "A SCSI command was requested to an Nx_Port that was not a SCSI Target Port", "A request was made concerning an unsupported FC-4 protocol", "A request was made to enable unimplemented capabilities for a port", "SCSI target is busy", "A call was made to HBA_FreeLibrary when no library was loaded", "A call was made to HBA_LoadLibrary when a library was already loaded", "FCID passed into HBA_SendRNIDV2 violates access control rules"} : Amended ToSubclass] uint32 HBAStatus);
};

[Description("此类公开 SM-HBA 适配器属性。这将包括此适配器上的端口数。") : Amended ToSubclass,AMENDMENT, LOCALE(0x0804)] 
class MS_SM_AdapterInformationQuery
{
  [Description("适配器的唯一标识符。此标识符必须在所有适配器中唯一。同一标识符值必须用于公开适配器信息的其他类中的同一适配器") : Amended ToSubclass] uint64 UniqueAdapterId;
  [Description("查询操作的 HBA 状态结果") : Amended ToSubclass,Values{"操作已成功 ", "错误 ", "功能不受支持。", "无效句柄 ", "错误参数 ", "无法识别 WWN ", "无法识别索引 ", "需要更大的缓冲区 ", "自上次调用 HBA_RefreshInformation 以来，信息已更改", "已报告 SCSI 检查条件", "适配器忙或已保留，重试可能有效", "请求超时，重试可能有效", "引用的 HBA 已删除或停用", "请求的 ELS 已被本地适配器拒绝", "指定的适配器未提供指定的 LUN", "检测到库和驱动程序模块之间不兼容", "多个适配器有一个匹配的 WWN", "永久性绑定请求包含了错误的本地 SCSI 总线编号", "永久性绑定请求包含了错误的本地 SCSI 目标编号", "永久性绑定请求包含了错误的本地 SCSI 逻辑单元号", "永久性绑定集请求包含了已绑定的本地 SCSI ID", "永久性绑定请求包含了错误或无法找到的 FCP 目标 FCID", "永久性绑定请求包含了错误的 FCP 目标节点 WWN", "永久性绑定请求包含了错误的 FCP 目标端口 WWN", "永久性绑定请求包含了未由已标识的目标定义的 FCP 逻辑单元号", "永久性绑定请求包含了未定义或无法访问的逻辑单元唯一标识符", "永久性绑定删除请求包含了与指定端口建立的绑定不匹配的绑定", "向并非 SCSI 目标端口的 Nx_Port 发出了 SCSI 命令请求", "发出了与不支持的 FC-4 协议相关的请求", "发出了为端口启用未实现功能的请求", "SCSI 目标忙", "在未加载任何库时调用了 HBA_FreeLibrary", "在已加载库后调用了 HBA_LoadLibrary", "传递到 HBA_SendRNIDV2 中的 FCID 违反了访问控制规则"} : Amended ToSubclass] uint32 HBAStatus;
};

[Description("此类是 FC_Port 属性") : Amended ToSubclass,AMENDMENT, LOCALE(0x0804)] 
class MS_SMHBA_FC_Port
{
};

[Description("此类是 SAS_Port 属性") : Amended ToSubclass,AMENDMENT, LOCALE(0x0804)] 
class MS_SMHBA_SAS_Port
{
};

[AMENDMENT, LOCALE(0x0804)] 
class MS_SMHBA_PORTATTRIBUTES
{
  [Values{"未知", "其他", "不存在", "光纤", "公用循环", "HBA_PORTTYPE_FLPORT", "光纤端口", "光纤扩展端口", "通用光纤端口", "专用循环", "点对点", "SAS (SSP 或 STP)", "SATA (直接连接)", "SAS 扩展器"} : Amended ToSubclass] uint32 PortType;
  [Values{"未知", "可操作", "用户脱机", "绕过", "在诊断模式下", "链路关闭", "端口错误", "环回", "已降级"} : Amended ToSubclass] uint32 PortState;
  [Description("MS_SMHBA_SAS_Port 或 MS_SMHBA_FC_Port 的大小") : Amended ToSubclass] uint32 PortSpecificAttributesSize;
  [Description(" MS_SMHBA_SAS_Port 或 MS_SMHBA_FC_Port 缓冲区") : Amended ToSubclass] uint8 PortSpecificAttributes[];
};

[Description("此类公开可以从适配器确定的端口信息操作。每个适配器应有一个此类的实例") : Amended ToSubclass,AMENDMENT, LOCALE(0x0804)] 
class MS_SM_PortInformationMethods
{
  void SM_GetPortType([in] uint32 PortIndex,[out,Description("HBA Status result for the query operation") : Amended ToSubclass,Values{"Operation was successful ", "Error ", "Function not supported.", "invalid handle ", "Bad argument ", "WWN not recognized ", "Index not recognized ", "Larger buffer required ", "Information has changed since the last call to HBA_RefreshInformation ", "SCSI Check Condition reported", "Adapter busy or reserved, retry may be effective", "Request timed out, retry may be effective", "Referenced HBA has been removed or deactivated", "The requested ELS was rejected by the local adapter", "The specified LUN is not provided by the specified adapter", "An incompatibility has been detected among the library and driver modules", "Multiple adapters have a matching WWN", "A persistent binding request included a bad local SCSI bus number", "A persistent binding request included a bad local SCSI target number", "A persistent binding request included a bad local SCSI logical unit number", "A persistent binding set request included a local SCSI ID that was already bound", "A persistent binding request included a bad or unlocatable FCP Target FCID", "A persistent binding request included a bad FCP Target Node WWN", "A persistent binding request included a bad FCP Target Port WWN", "A persistent binding request included an FCP Logical Unit Number not defined by the identified Target", "A persistent binding request included an undefined or otherwise in accessible Logical Unit Unique Identifier", "A persistent binding remove request included a binding which did not match a binding established by the specified port", "A SCSI command was requested to an Nx_Port that was not a SCSI Target Port", "A request was made concerning an unsupported FC-4 protocol", "A request was made to enable unimplemented capabilities for a port", "SCSI target is busy", "A call was made to HBA_FreeLibrary when no library was loaded", "A call was made to HBA_LoadLibrary when a library was already loaded", "FCID passed into HBA_SendRNIDV2 violates access control rules"} : Amended ToSubclass] uint32 HBAStatus,[out,Values{"Unknown", "Other", "Not present", "Fabric", "Public Loop", "HBA_PORTTYPE_FLPORT", "Fabric Port", "Fabric expansion port", "Generic Fabric Port", "Private Loop", "Point to Point", "SAS (SSP or STP)", "SATA (Direct Attach)", "SAS Expander"} : Amended ToSubclass] uint32 PortType);
  void SM_GetAdapterPortAttributes([in] uint32 PortIndex,[in] uint32 PortSpecificAttributesMaxSize,[out,Description("HBA Status result for the query operation") : Amended ToSubclass,Values{"Operation was successful ", "Error ", "Function not supported.", "invalid handle ", "Bad argument ", "WWN not recognized ", "Index not recognized ", "Larger buffer required ", "Information has changed since the last call to HBA_RefreshInformation ", "SCSI Check Condition reported", "Adapter busy or reserved, retry may be effective", "Request timed out, retry may be effective", "Referenced HBA has been removed or deactivated", "The requested ELS was rejected by the local adapter", "The specified LUN is not provided by the specified adapter", "An incompatibility has been detected among the library and driver modules", "Multiple adapters have a matching WWN", "A persistent binding request included a bad local SCSI bus number", "A persistent binding request included a bad local SCSI target number", "A persistent binding request included a bad local SCSI logical unit number", "A persistent binding set request included a local SCSI ID that was already bound", "A persistent binding request included a bad or unlocatable FCP Target FCID", "A persistent binding request included a bad FCP Target Node WWN", "A persistent binding request included a bad FCP Target Port WWN", "A persistent binding request included an FCP Logical Unit Number not defined by the identified Target", "A persistent binding request included an undefined or otherwise in accessible Logical Unit Unique Identifier", "A persistent binding remove request included a binding which did not match a binding established by the specified port", "A SCSI command was requested to an Nx_Port that was not a SCSI Target Port", "A request was made concerning an unsupported FC-4 protocol", "A request was made to enable unimplemented capabilities for a port", "SCSI target is busy", "A call was made to HBA_FreeLibrary when no library was loaded", "A call was made to HBA_LoadLibrary when a library was already loaded", "FCID passed into HBA_SendRNIDV2 violates access control rules"} : Amended ToSubclass] uint32 HBAStatus,[out] MS_SMHBA_PORTATTRIBUTES PortAttributes);
  void SM_GetDiscoveredPortAttributes([in] uint32 PortIndex,[in] uint32 DiscoveredPortIndex,[in] uint32 PortSpecificAttributesMaxSize,[out,Description("HBA Status result for the query operation") : Amended ToSubclass,Values{"Operation was successful ", "Error ", "Function not supported.", "invalid handle ", "Bad argument ", "WWN not recognized ", "Index not recognized ", "Larger buffer required ", "Information has changed since the last call to HBA_RefreshInformation ", "SCSI Check Condition reported", "Adapter busy or reserved, retry may be effective", "Request timed out, retry may be effective", "Referenced HBA has been removed or deactivated", "The requested ELS was rejected by the local adapter", "The specified LUN is not provided by the specified adapter", "An incompatibility has been detected among the library and driver modules", "Multiple adapters have a matching WWN", "A persistent binding request included a bad local SCSI bus number", "A persistent binding request included a bad local SCSI target number", "A persistent binding request included a bad local SCSI logical unit number", "A persistent binding set request included a local SCSI ID that was already bound", "A persistent binding request included a bad or unlocatable FCP Target FCID", "A persistent binding request included a bad FCP Target Node WWN", "A persistent binding request included a bad FCP Target Port WWN", "A persistent binding request included an FCP Logical Unit Number not defined by the identified Target", "A persistent binding request included an undefined or otherwise in accessible Logical Unit Unique Identifier", "A persistent binding remove request included a binding which did not match a binding established by the specified port", "A SCSI command was requested to an Nx_Port that was not a SCSI Target Port", "A request was made concerning an unsupported FC-4 protocol", "A request was made to enable unimplemented capabilities for a port", "SCSI target is busy", "A call was made to HBA_FreeLibrary when no library was loaded", "A call was made to HBA_LoadLibrary when a library was already loaded", "FCID passed into HBA_SendRNIDV2 violates access control rules"} : Amended ToSubclass] uint32 HBAStatus,[out] MS_SMHBA_PORTATTRIBUTES PortAttributes);
  void SM_GetPortAttributesByWWN([in] uint8 PortWWN[],[in] uint8 DomainPortWWN[],[in] uint32 PortSpecificAttributesMaxSize,[out,Description("HBA Status result for the query operation") : Amended ToSubclass,Values{"Operation was successful ", "Error ", "Function not supported.", "invalid handle ", "Bad argument ", "WWN not recognized ", "Index not recognized ", "Larger buffer required ", "Information has changed since the last call to HBA_RefreshInformation ", "SCSI Check Condition reported", "Adapter busy or reserved, retry may be effective", "Request timed out, retry may be effective", "Referenced HBA has been removed or deactivated", "The requested ELS was rejected by the local adapter", "The specified LUN is not provided by the specified adapter", "An incompatibility has been detected among the library and driver modules", "Multiple adapters have a matching WWN", "A persistent binding request included a bad local SCSI bus number", "A persistent binding request included a bad local SCSI target number", "A persistent binding request included a bad local SCSI logical unit number", "A persistent binding set request included a local SCSI ID that was already bound", "A persistent binding request included a bad or unlocatable FCP Target FCID", "A persistent binding request included a bad FCP Target Node WWN", "A persistent binding request included a bad FCP Target Port WWN", "A persistent binding request included an FCP Logical Unit Number not defined by the identified Target", "A persistent binding request included an undefined or otherwise in accessible Logical Unit Unique Identifier", "A persistent binding remove request included a binding which did not match a binding established by the specified port", "A SCSI command was requested to an Nx_Port that was not a SCSI Target Port", "A request was made concerning an unsupported FC-4 protocol", "A request was made to enable unimplemented capabilities for a port", "SCSI target is busy", "A call was made to HBA_FreeLibrary when no library was loaded", "A call was made to HBA_LoadLibrary when a library was already loaded", "FCID passed into HBA_SendRNIDV2 violates access control rules"} : Amended ToSubclass] uint32 HBAStatus,[out] MS_SMHBA_PORTATTRIBUTES PortAttributes);
  void SM_GetProtocolStatistics([in] uint32 PortIndex,[in] uint32 ProtocolType,[out,Description("HBA Status result for the query operation") : Amended ToSubclass,Values{"Operation was successful ", "Error ", "Function not supported.", "invalid handle ", "Bad argument ", "WWN not recognized ", "Index not recognized ", "Larger buffer required ", "Information has changed since the last call to HBA_RefreshInformation ", "SCSI Check Condition reported", "Adapter busy or reserved, retry may be effective", "Request timed out, retry may be effective", "Referenced HBA has been removed or deactivated", "The requested ELS was rejected by the local adapter", "The specified LUN is not provided by the specified adapter", "An incompatibility has been detected among the library and driver modules", "Multiple adapters have a matching WWN", "A persistent binding request included a bad local SCSI bus number", "A persistent binding request included a bad local SCSI target number", "A persistent binding request included a bad local SCSI logical unit number", "A persistent binding set request included a local SCSI ID that was already bound", "A persistent binding request included a bad or unlocatable FCP Target FCID", "A persistent binding request included a bad FCP Target Node WWN", "A persistent binding request included a bad FCP Target Port WWN", "A persistent binding request included an FCP Logical Unit Number not defined by the identified Target", "A persistent binding request included an undefined or otherwise in accessible Logical Unit Unique Identifier", "A persistent binding remove request included a binding which did not match a binding established by the specified port", "A SCSI command was requested to an Nx_Port that was not a SCSI Target Port", "A request was made concerning an unsupported FC-4 protocol", "A request was made to enable unimplemented capabilities for a port", "SCSI target is busy", "A call was made to HBA_FreeLibrary when no library was loaded", "A call was made to HBA_LoadLibrary when a library was already loaded", "FCID passed into HBA_SendRNIDV2 violates access control rules"} : Amended ToSubclass] uint32 HBAStatus,[out] MS_SMHBA_PROTOCOLSTATISTICS ProtocolStatistics);
  [Description("典型计数器 SMHBA_SASPHYSTATISTICS (9 个计数器)或 MSFC_HBAPortStatistics (15 个计数器)") : Amended ToSubclass] void SM_GetPhyStatistics([in] uint32 PortIndex,[in] uint32 PhyIndex,[in] uint32 InNumOfPhyCounters,[out,Description("查询操作的 HBA 状态结果") : Amended ToSubclass,Values{"操作已成功 ", "错误 ", "功能不受支持。", "无效句柄 ", "错误参数 ", "无法识别 WWN ", "无法识别索引 ", "需要更大的缓冲区 ", "自上次调用 HBA_RefreshInformation 以来，信息已更改", "已报告 SCSI 检查条件", "适配器忙或已保留，重试可能有效", "请求超时，重试可能有效", "引用的 HBA 已删除或停用", "请求的 ELS 已被本地适配器拒绝", "指定的适配器未提供指定的 LUN", "检测到库和驱动程序模块之间不兼容", "多个适配器有一个匹配的 WWN", "永久性绑定请求包含了错误的本地 SCSI 总线编号", "永久性绑定请求包含了错误的本地 SCSI 目标编号", "永久性绑定请求包含了错误的本地 SCSI 逻辑单元号", "永久性绑定集请求包含了已绑定的本地 SCSI ID", "永久性绑定请求包含了错误或无法找到的 FCP 目标 FCID", "永久性绑定请求包含了错误的 FCP 目标节点 WWN", "永久性绑定请求包含了错误的 FCP 目标端口 WWN", "永久性绑定请求包含了未由已标识的目标定义的 FCP 逻辑单元号", "永久性绑定请求包含了未定义或无法访问的逻辑单元唯一标识符", "永久性绑定删除请求包含了与指定端口建立的绑定不匹配的绑定", "向并非 SCSI 目标端口的 Nx_Port 发出了 SCSI 命令请求", "发出了与不支持的 FC-4 协议相关的请求", "发出了为端口启用未实现功能的请求", "SCSI 目标忙", "在未加载任何库时调用了 HBA_FreeLibrary", "在已加载库后调用了 HBA_LoadLibrary", "传递到 HBA_SendRNIDV2 中的 FCID 违反了访问控制规则"} : Amended ToSubclass] uint32 HBAStatus,[out] uint32 TotalNumOfPhyCounters,[out] uint32 OutNumOfPhyCounters,[out] sint64 PhyCounter[]);
  void SM_GetFCPhyAttributes([in] uint32 PortIndex,[in] uint32 PhyIndex,[out,Description("HBA Status result for the query operation") : Amended ToSubclass,Values{"Operation was successful ", "Error ", "Function not supported.", "invalid handle ", "Bad argument ", "WWN not recognized ", "Index not recognized ", "Larger buffer required ", "Information has changed since the last call to HBA_RefreshInformation ", "SCSI Check Condition reported", "Adapter busy or reserved, retry may be effective", "Request timed out, retry may be effective", "Referenced HBA has been removed or deactivated", "The requested ELS was rejected by the local adapter", "The specified LUN is not provided by the specified adapter", "An incompatibility has been detected among the library and driver modules", "Multiple adapters have a matching WWN", "A persistent binding request included a bad local SCSI bus number", "A persistent binding request included a bad local SCSI target number", "A persistent binding request included a bad local SCSI logical unit number", "A persistent binding set request included a local SCSI ID that was already bound", "A persistent binding request included a bad or unlocatable FCP Target FCID", "A persistent binding request included a bad FCP Target Node WWN", "A persistent binding request included a bad FCP Target Port WWN", "A persistent binding request included an FCP Logical Unit Number not defined by the identified Target", "A persistent binding request included an undefined or otherwise in accessible Logical Unit Unique Identifier", "A persistent binding remove request included a binding which did not match a binding established by the specified port", "A SCSI command was requested to an Nx_Port that was not a SCSI Target Port", "A request was made concerning an unsupported FC-4 protocol", "A request was made to enable unimplemented capabilities for a port", "SCSI target is busy", "A call was made to HBA_FreeLibrary when no library was loaded", "A call was made to HBA_LoadLibrary when a library was already loaded", "FCID passed into HBA_SendRNIDV2 violates access control rules"} : Amended ToSubclass] uint32 HBAStatus,[out] MS_SMHBA_FC_PHY PhyType);
  void SM_GetSASPhyAttributes([in] uint32 PortIndex,[in] uint32 PhyIndex,[out,Description("HBA Status result for the query operation") : Amended ToSubclass,Values{"Operation was successful ", "Error ", "Function not supported.", "invalid handle ", "Bad argument ", "WWN not recognized ", "Index not recognized ", "Larger buffer required ", "Information has changed since the last call to HBA_RefreshInformation ", "SCSI Check Condition reported", "Adapter busy or reserved, retry may be effective", "Request timed out, retry may be effective", "Referenced HBA has been removed or deactivated", "The requested ELS was rejected by the local adapter", "The specified LUN is not provided by the specified adapter", "An incompatibility has been detected among the library and driver modules", "Multiple adapters have a matching WWN", "A persistent binding request included a bad local SCSI bus number", "A persistent binding request included a bad local SCSI target number", "A persistent binding request included a bad local SCSI logical unit number", "A persistent binding set request included a local SCSI ID that was already bound", "A persistent binding request included a bad or unlocatable FCP Target FCID", "A persistent binding request included a bad FCP Target Node WWN", "A persistent binding request included a bad FCP Target Port WWN", "A persistent binding request included an FCP Logical Unit Number not defined by the identified Target", "A persistent binding request included an undefined or otherwise in accessible Logical Unit Unique Identifier", "A persistent binding remove request included a binding which did not match a binding established by the specified port", "A SCSI command was requested to an Nx_Port that was not a SCSI Target Port", "A request was made concerning an unsupported FC-4 protocol", "A request was made to enable unimplemented capabilities for a port", "SCSI target is busy", "A call was made to HBA_FreeLibrary when no library was loaded", "A call was made to HBA_LoadLibrary when a library was already loaded", "FCID passed into HBA_SendRNIDV2 violates access control rules"} : Amended ToSubclass] uint32 HBAStatus,[out] MS_SMHBA_SAS_PHY PhyType);
};

[AMENDMENT, LOCALE(0x0804)] 
class MS_SMHBA_BINDINGENTRY
{
  [Description("执行永久性绑定的方式") : Amended ToSubclass] uint32 type;
  [Description("查询操作的 HBA 状态结果") : Amended ToSubclass,Values{"操作已成功 ", "错误 ", "功能不受支持。", "无效句柄 ", "错误参数 ", "无法识别 WWN ", "无法识别索引 ", "需要更大的缓冲区 ", "自上次调用 HBA_RefreshInformation 以来，信息已更改", "已报告 SCSI 检查条件", "适配器忙或已保留，重试可能有效", "请求超时，重试可能有效", "引用的 HBA 已删除或停用", "请求的 ELS 已被本地适配器拒绝", "指定的适配器未提供指定的 LUN", "检测到库和驱动程序模块之间不兼容", "多个适配器有一个匹配的 WWN", "永久性绑定请求包含了错误的本地 SCSI 总线编号", "永久性绑定请求包含了错误的本地 SCSI 目标编号", "永久性绑定请求包含了错误的本地 SCSI 逻辑单元号", "永久性绑定集请求包含了已绑定的本地 SCSI ID", "永久性绑定请求包含了错误或无法找到的 FCP 目标 FCID", "永久性绑定请求包含了错误的 FCP 目标节点 WWN", "永久性绑定请求包含了错误的 FCP 目标端口 WWN", "永久性绑定请求包含了未由已标识的目标定义的 FCP 逻辑单元号", "永久性绑定请求包含了未定义或无法访问的逻辑单元唯一标识符", "永久性绑定删除请求包含了与指定端口建立的绑定不匹配的绑定", "向并非 SCSI 目标端口的 Nx_Port 发出了 SCSI 命令请求", "发出了与不支持的 FC-4 协议相关的请求", "发出了为端口启用未实现功能的请求", "SCSI 目标忙", "在未加载任何库时调用了 HBA_FreeLibrary", "在已加载库后调用了 HBA_LoadLibrary", "传递到 HBA_SendRNIDV2 中的 FCID 违反了访问控制规则"} : Amended ToSubclass] uint32 Status;
};

[Description("") : Amended ToSubclass,AMENDMENT, LOCALE(0x0804)] 
class MS_SM_TargetInformationMethods
{
  void SM_GetTargetMapping([in] uint8 HbaPortWWN[],[in] uint8 DomainPortWWN[],[in] uint32 InEntryCount,[out,Description("HBA Status result for the query operation") : Amended ToSubclass,Values{"Operation was successful ", "Error ", "Function not supported.", "invalid handle ", "Bad argument ", "WWN not recognized ", "Index not recognized ", "Larger buffer required ", "Information has changed since the last call to HBA_RefreshInformation ", "SCSI Check Condition reported", "Adapter busy or reserved, retry may be effective", "Request timed out, retry may be effective", "Referenced HBA has been removed or deactivated", "The requested ELS was rejected by the local adapter", "The specified LUN is not provided by the specified adapter", "An incompatibility has been detected among the library and driver modules", "Multiple adapters have a matching WWN", "A persistent binding request included a bad local SCSI bus number", "A persistent binding request included a bad local SCSI target number", "A persistent binding request included a bad local SCSI logical unit number", "A persistent binding set request included a local SCSI ID that was already bound", "A persistent binding request included a bad or unlocatable FCP Target FCID", "A persistent binding request included a bad FCP Target Node WWN", "A persistent binding request included a bad FCP Target Port WWN", "A persistent binding request included an FCP Logical Unit Number not defined by the identified Target", "A persistent binding request included an undefined or otherwise in accessible Logical Unit Unique Identifier", "A persistent binding remove request included a binding which did not match a binding established by the specified port", "A SCSI command was requested to an Nx_Port that was not a SCSI Target Port", "A request was made concerning an unsupported FC-4 protocol", "A request was made to enable unimplemented capabilities for a port", "SCSI target is busy", "A call was made to HBA_FreeLibrary when no library was loaded", "A call was made to HBA_LoadLibrary when a library was already loaded", "FCID passed into HBA_SendRNIDV2 violates access control rules"} : Amended ToSubclass] uint32 HBAStatus,[out] uint32 TotalEntryCount,[out] uint32 OutEntryCount,[out] MS_SMHBA_SCSIENTRY Entry[]);
  void SM_GetBindingCapability([in] uint8 HbaPortWWN[],[in] uint8 DomainPortWWN[],[out,Description("HBA Status result for the query operation") : Amended ToSubclass,Values{"Operation was successful ", "Error ", "Function not supported.", "invalid handle ", "Bad argument ", "WWN not recognized ", "Index not recognized ", "Larger buffer required ", "Information has changed since the last call to HBA_RefreshInformation ", "SCSI Check Condition reported", "Adapter busy or reserved, retry may be effective", "Request timed out, retry may be effective", "Referenced HBA has been removed or deactivated", "The requested ELS was rejected by the local adapter", "The specified LUN is not provided by the specified adapter", "An incompatibility has been detected among the library and driver modules", "Multiple adapters have a matching WWN", "A persistent binding request included a bad local SCSI bus number", "A persistent binding request included a bad local SCSI target number", "A persistent binding request included a bad local SCSI logical unit number", "A persistent binding set request included a local SCSI ID that was already bound", "A persistent binding request included a bad or unlocatable FCP Target FCID", "A persistent binding request included a bad FCP Target Node WWN", "A persistent binding request included a bad FCP Target Port WWN", "A persistent binding request included an FCP Logical Unit Number not defined by the identified Target", "A persistent binding request included an undefined or otherwise in accessible Logical Unit Unique Identifier", "A persistent binding remove request included a binding which did not match a binding established by the specified port", "A SCSI command was requested to an Nx_Port that was not a SCSI Target Port", "A request was made concerning an unsupported FC-4 protocol", "A request was made to enable unimplemented capabilities for a port", "SCSI target is busy", "A call was made to HBA_FreeLibrary when no library was loaded", "A call was made to HBA_LoadLibrary when a library was already loaded", "FCID passed into HBA_SendRNIDV2 violates access control rules"} : Amended ToSubclass] uint32 HBAStatus,[out] uint32 Flags);
  void SM_GetBindingSupport([in] uint8 HbaPortWWN[],[in] uint8 DomainPortWWN[],[out,Description("HBA Status result for the query operation") : Amended ToSubclass,Values{"Operation was successful ", "Error ", "Function not supported.", "invalid handle ", "Bad argument ", "WWN not recognized ", "Index not recognized ", "Larger buffer required ", "Information has changed since the last call to HBA_RefreshInformation ", "SCSI Check Condition reported", "Adapter busy or reserved, retry may be effective", "Request timed out, retry may be effective", "Referenced HBA has been removed or deactivated", "The requested ELS was rejected by the local adapter", "The specified LUN is not provided by the specified adapter", "An incompatibility has been detected among the library and driver modules", "Multiple adapters have a matching WWN", "A persistent binding request included a bad local SCSI bus number", "A persistent binding request included a bad local SCSI target number", "A persistent binding request included a bad local SCSI logical unit number", "A persistent binding set request included a local SCSI ID that was already bound", "A persistent binding request included a bad or unlocatable FCP Target FCID", "A persistent binding request included a bad FCP Target Node WWN", "A persistent binding request included a bad FCP Target Port WWN", "A persistent binding request included an FCP Logical Unit Number not defined by the identified Target", "A persistent binding request included an undefined or otherwise in accessible Logical Unit Unique Identifier", "A persistent binding remove request included a binding which did not match a binding established by the specified port", "A SCSI command was requested to an Nx_Port that was not a SCSI Target Port", "A request was made concerning an unsupported FC-4 protocol", "A request was made to enable unimplemented capabilities for a port", "SCSI target is busy", "A call was made to HBA_FreeLibrary when no library was loaded", "A call was made to HBA_LoadLibrary when a library was already loaded", "FCID passed into HBA_SendRNIDV2 violates access control rules"} : Amended ToSubclass] uint32 HBAStatus,[out] uint32 Flags);
  void SM_SetBindingSupport([in] uint8 HbaPortWWN[],[in] uint8 DomainPortWWN[],[in] uint32 Flags,[out,Description("HBA Status result for the query operation") : Amended ToSubclass,Values{"Operation was successful ", "Error ", "Function not supported.", "invalid handle ", "Bad argument ", "WWN not recognized ", "Index not recognized ", "Larger buffer required ", "Information has changed since the last call to HBA_RefreshInformation ", "SCSI Check Condition reported", "Adapter busy or reserved, retry may be effective", "Request timed out, retry may be effective", "Referenced HBA has been removed or deactivated", "The requested ELS was rejected by the local adapter", "The specified LUN is not provided by the specified adapter", "An incompatibility has been detected among the library and driver modules", "Multiple adapters have a matching WWN", "A persistent binding request included a bad local SCSI bus number", "A persistent binding request included a bad local SCSI target number", "A persistent binding request included a bad local SCSI logical unit number", "A persistent binding set request included a local SCSI ID that was already bound", "A persistent binding request included a bad or unlocatable FCP Target FCID", "A persistent binding request included a bad FCP Target Node WWN", "A persistent binding request included a bad FCP Target Port WWN", "A persistent binding request included an FCP Logical Unit Number not defined by the identified Target", "A persistent binding request included an undefined or otherwise in accessible Logical Unit Unique Identifier", "A persistent binding remove request included a binding which did not match a binding established by the specified port", "A SCSI command was requested to an Nx_Port that was not a SCSI Target Port", "A request was made concerning an unsupported FC-4 protocol", "A request was made to enable unimplemented capabilities for a port", "SCSI target is busy", "A call was made to HBA_FreeLibrary when no library was loaded", "A call was made to HBA_LoadLibrary when a library was already loaded", "FCID passed into HBA_SendRNIDV2 violates access control rules"} : Amended ToSubclass] uint32 HBAStatus);
  void SM_GetPersistentBinding([in] uint8 HbaPortWWN[],[in] uint8 DomainPortWWN[],[in] uint32 InEntryCount,[out,Description("HBA Status result for the query operation") : Amended ToSubclass,Values{"Operation was successful ", "Error ", "Function not supported.", "invalid handle ", "Bad argument ", "WWN not recognized ", "Index not recognized ", "Larger buffer required ", "Information has changed since the last call to HBA_RefreshInformation ", "SCSI Check Condition reported", "Adapter busy or reserved, retry may be effective", "Request timed out, retry may be effective", "Referenced HBA has been removed or deactivated", "The requested ELS was rejected by the local adapter", "The specified LUN is not provided by the specified adapter", "An incompatibility has been detected among the library and driver modules", "Multiple adapters have a matching WWN", "A persistent binding request included a bad local SCSI bus number", "A persistent binding request included a bad local SCSI target number", "A persistent binding request included a bad local SCSI logical unit number", "A persistent binding set request included a local SCSI ID that was already bound", "A persistent binding request included a bad or unlocatable FCP Target FCID", "A persistent binding request included a bad FCP Target Node WWN", "A persistent binding request included a bad FCP Target Port WWN", "A persistent binding request included an FCP Logical Unit Number not defined by the identified Target", "A persistent binding request included an undefined or otherwise in accessible Logical Unit Unique Identifier", "A persistent binding remove request included a binding which did not match a binding established by the specified port", "A SCSI command was requested to an Nx_Port that was not a SCSI Target Port", "A request was made concerning an unsupported FC-4 protocol", "A request was made to enable unimplemented capabilities for a port", "SCSI target is busy", "A call was made to HBA_FreeLibrary when no library was loaded", "A call was made to HBA_LoadLibrary when a library was already loaded", "FCID passed into HBA_SendRNIDV2 violates access control rules"} : Amended ToSubclass] uint32 HBAStatus,[out] uint32 TotalEntryCount,[out] uint32 OutEntryCount,[out] MS_SMHBA_BINDINGENTRY Entry[]);
  void SM_SetPersistentBinding([in] uint8 HbaPortWWN[],[in] uint8 DomainPortWWN[],[in] uint32 InEntryCount,[in] MS_SMHBA_BINDINGENTRY Entry[],[out,Description("HBA Status result for the query operation") : Amended ToSubclass,Values{"Operation was successful ", "Error ", "Function not supported.", "invalid handle ", "Bad argument ", "WWN not recognized ", "Index not recognized ", "Larger buffer required ", "Information has changed since the last call to HBA_RefreshInformation ", "SCSI Check Condition reported", "Adapter busy or reserved, retry may be effective", "Request timed out, retry may be effective", "Referenced HBA has been removed or deactivated", "The requested ELS was rejected by the local adapter", "The specified LUN is not provided by the specified adapter", "An incompatibility has been detected among the library and driver modules", "Multiple adapters have a matching WWN", "A persistent binding request included a bad local SCSI bus number", "A persistent binding request included a bad local SCSI target number", "A persistent binding request included a bad local SCSI logical unit number", "A persistent binding set request included a local SCSI ID that was already bound", "A persistent binding request included a bad or unlocatable FCP Target FCID", "A persistent binding request included a bad FCP Target Node WWN", "A persistent binding request included a bad FCP Target Port WWN", "A persistent binding request included an FCP Logical Unit Number not defined by the identified Target", "A persistent binding request included an undefined or otherwise in accessible Logical Unit Unique Identifier", "A persistent binding remove request included a binding which did not match a binding established by the specified port", "A SCSI command was requested to an Nx_Port that was not a SCSI Target Port", "A request was made concerning an unsupported FC-4 protocol", "A request was made to enable unimplemented capabilities for a port", "SCSI target is busy", "A call was made to HBA_FreeLibrary when no library was loaded", "A call was made to HBA_LoadLibrary when a library was already loaded", "FCID passed into HBA_SendRNIDV2 violates access control rules"} : Amended ToSubclass] uint32 HBAStatus,[out] uint32 OutStatusCount,[out] uint32 EntryStatus[]);
  void SM_RemovePersistentBinding([in] uint8 HbaPortWWN[],[in] uint8 DomainPortWWN[],[in] uint32 EntryCount,[in] MS_SMHBA_BINDINGENTRY Entry[],[out,Description("HBA Status result for the query operation") : Amended ToSubclass,Values{"Operation was successful ", "Error ", "Function not supported.", "invalid handle ", "Bad argument ", "WWN not recognized ", "Index not recognized ", "Larger buffer required ", "Information has changed since the last call to HBA_RefreshInformation ", "SCSI Check Condition reported", "Adapter busy or reserved, retry may be effective", "Request timed out, retry may be effective", "Referenced HBA has been removed or deactivated", "The requested ELS was rejected by the local adapter", "The specified LUN is not provided by the specified adapter", "An incompatibility has been detected among the library and driver modules", "Multiple adapters have a matching WWN", "A persistent binding request included a bad local SCSI bus number", "A persistent binding request included a bad local SCSI target number", "A persistent binding request included a bad local SCSI logical unit number", "A persistent binding set request included a local SCSI ID that was already bound", "A persistent binding request included a bad or unlocatable FCP Target FCID", "A persistent binding request included a bad FCP Target Node WWN", "A persistent binding request included a bad FCP Target Port WWN", "A persistent binding request included an FCP Logical Unit Number not defined by the identified Target", "A persistent binding request included an undefined or otherwise in accessible Logical Unit Unique Identifier", "A persistent binding remove request included a binding which did not match a binding established by the specified port", "A SCSI command was requested to an Nx_Port that was not a SCSI Target Port", "A request was made concerning an unsupported FC-4 protocol", "A request was made to enable unimplemented capabilities for a port", "SCSI target is busy", "A call was made to HBA_FreeLibrary when no library was loaded", "A call was made to HBA_LoadLibrary when a library was already loaded", "FCID passed into HBA_SendRNIDV2 violates access control rules"} : Amended ToSubclass] uint32 HBAStatus);
  void SM_GetLUNStatistics([in] HBAScsiID Lunit,[out,Description("HBA Status result for the query operation") : Amended ToSubclass,Values{"Operation was successful ", "Error ", "Function not supported.", "invalid handle ", "Bad argument ", "WWN not recognized ", "Index not recognized ", "Larger buffer required ", "Information has changed since the last call to HBA_RefreshInformation ", "SCSI Check Condition reported", "Adapter busy or reserved, retry may be effective", "Request timed out, retry may be effective", "Referenced HBA has been removed or deactivated", "The requested ELS was rejected by the local adapter", "The specified LUN is not provided by the specified adapter", "An incompatibility has been detected among the library and driver modules", "Multiple adapters have a matching WWN", "A persistent binding request included a bad local SCSI bus number", "A persistent binding request included a bad local SCSI target number", "A persistent binding request included a bad local SCSI logical unit number", "A persistent binding set request included a local SCSI ID that was already bound", "A persistent binding request included a bad or unlocatable FCP Target FCID", "A persistent binding request included a bad FCP Target Node WWN", "A persistent binding request included a bad FCP Target Port WWN", "A persistent binding request included an FCP Logical Unit Number not defined by the identified Target", "A persistent binding request included an undefined or otherwise in accessible Logical Unit Unique Identifier", "A persistent binding remove request included a binding which did not match a binding established by the specified port", "A SCSI command was requested to an Nx_Port that was not a SCSI Target Port", "A request was made concerning an unsupported FC-4 protocol", "A request was made to enable unimplemented capabilities for a port", "SCSI target is busy", "A call was made to HBA_FreeLibrary when no library was loaded", "A call was made to HBA_LoadLibrary when a library was already loaded", "FCID passed into HBA_SendRNIDV2 violates access control rules"} : Amended ToSubclass] uint32 HBAStatus,[out] MS_SMHBA_PROTOCOLSTATISTICS ProtocolStatistics);
};

[Description("") : Amended ToSubclass,AMENDMENT, LOCALE(0x0804)] 
class MS_SM_ScsiInformationMethods
{
  void SM_ScsiInquiry([in] uint8 HbaPortWWN[],[in] uint8 DiscoveredPortWWN[],[in] uint8 DomainPortWWN[],[in] uint64 SmhbaLUN,[in] uint8 Cdb[],[in] uint32 InRespBufferMaxSize,[in] uint32 InSenseBufferMaxSize,[out,Description("HBA Status result for the query operation") : Amended ToSubclass,Values{"Operation was successful ", "Error ", "Function not supported.", "invalid handle ", "Bad argument ", "WWN not recognized ", "Index not recognized ", "Larger buffer required ", "Information has changed since the last call to HBA_RefreshInformation ", "SCSI Check Condition reported", "Adapter busy or reserved, retry may be effective", "Request timed out, retry may be effective", "Referenced HBA has been removed or deactivated", "The requested ELS was rejected by the local adapter", "The specified LUN is not provided by the specified adapter", "An incompatibility has been detected among the library and driver modules", "Multiple adapters have a matching WWN", "A persistent binding request included a bad local SCSI bus number", "A persistent binding request included a bad local SCSI target number", "A persistent binding request included a bad local SCSI logical unit number", "A persistent binding set request included a local SCSI ID that was already bound", "A persistent binding request included a bad or unlocatable FCP Target FCID", "A persistent binding request included a bad FCP Target Node WWN", "A persistent binding request included a bad FCP Target Port WWN", "A persistent binding request included an FCP Logical Unit Number not defined by the identified Target", "A persistent binding request included an undefined or otherwise in accessible Logical Unit Unique Identifier", "A persistent binding remove request included a binding which did not match a binding established by the specified port", "A SCSI command was requested to an Nx_Port that was not a SCSI Target Port", "A request was made concerning an unsupported FC-4 protocol", "A request was made to enable unimplemented capabilities for a port", "SCSI target is busy", "A call was made to HBA_FreeLibrary when no library was loaded", "A call was made to HBA_LoadLibrary when a library was already loaded", "FCID passed into HBA_SendRNIDV2 violates access control rules"} : Amended ToSubclass] uint32 HBAStatus,[out] uint8 ScsiStatus,[out] uint32 OutRespBufferSize,[out] uint32 OutSenseBufferSize,[out] uint8 RespBuffer[],[out] uint8 SenseBuffer[]);
  void SM_ScsiReportLuns([in] uint8 HbaPortWWN[],[in] uint8 DiscoveredPortWWN[],[in] uint8 DomainPortWWN[],[in] uint8 Cdb[],[in] uint32 InRespBufferMaxSize,[in] uint32 InSenseBufferMaxSize,[out,Description("HBA Status result for the query operation") : Amended ToSubclass,Values{"Operation was successful ", "Error ", "Function not supported.", "invalid handle ", "Bad argument ", "WWN not recognized ", "Index not recognized ", "Larger buffer required ", "Information has changed since the last call to HBA_RefreshInformation ", "SCSI Check Condition reported", "Adapter busy or reserved, retry may be effective", "Request timed out, retry may be effective", "Referenced HBA has been removed or deactivated", "The requested ELS was rejected by the local adapter", "The specified LUN is not provided by the specified adapter", "An incompatibility has been detected among the library and driver modules", "Multiple adapters have a matching WWN", "A persistent binding request included a bad local SCSI bus number", "A persistent binding request included a bad local SCSI target number", "A persistent binding request included a bad local SCSI logical unit number", "A persistent binding set request included a local SCSI ID that was already bound", "A persistent binding request included a bad or unlocatable FCP Target FCID", "A persistent binding request included a bad FCP Target Node WWN", "A persistent binding request included a bad FCP Target Port WWN", "A persistent binding request included an FCP Logical Unit Number not defined by the identified Target", "A persistent binding request included an undefined or otherwise in accessible Logical Unit Unique Identifier", "A persistent binding remove request included a binding which did not match a binding established by the specified port", "A SCSI command was requested to an Nx_Port that was not a SCSI Target Port", "A request was made concerning an unsupported FC-4 protocol", "A request was made to enable unimplemented capabilities for a port", "SCSI target is busy", "A call was made to HBA_FreeLibrary when no library was loaded", "A call was made to HBA_LoadLibrary when a library was already loaded", "FCID passed into HBA_SendRNIDV2 violates access control rules"} : Amended ToSubclass] uint32 HBAStatus,[out] uint8 ScsiStatus,[out] uint32 TotalRespBufferSize,[out] uint32 OutRespBufferSize,[out] uint32 OutSenseBufferSize,[out] uint8 RespBuffer[],[out] uint8 SenseBuffer[]);
  void SM_ScsiReadCapacity([in] uint8 HbaPortWWN[],[in] uint8 DiscoveredPortWWN[],[in] uint8 DomainPortWWN[],[in] uint64 SmhbaLUN,[in] uint8 Cdb[],[in] uint32 InRespBufferMaxSize,[in] uint32 InSenseBufferMaxSize,[out,Description("HBA Status result for the query operation") : Amended ToSubclass,Values{"Operation was successful ", "Error ", "Function not supported.", "invalid handle ", "Bad argument ", "WWN not recognized ", "Index not recognized ", "Larger buffer required ", "Information has changed since the last call to HBA_RefreshInformation ", "SCSI Check Condition reported", "Adapter busy or reserved, retry may be effective", "Request timed out, retry may be effective", "Referenced HBA has been removed or deactivated", "The requested ELS was rejected by the local adapter", "The specified LUN is not provided by the specified adapter", "An incompatibility has been detected among the library and driver modules", "Multiple adapters have a matching WWN", "A persistent binding request included a bad local SCSI bus number", "A persistent binding request included a bad local SCSI target number", "A persistent binding request included a bad local SCSI logical unit number", "A persistent binding set request included a local SCSI ID that was already bound", "A persistent binding request included a bad or unlocatable FCP Target FCID", "A persistent binding request included a bad FCP Target Node WWN", "A persistent binding request included a bad FCP Target Port WWN", "A persistent binding request included an FCP Logical Unit Number not defined by the identified Target", "A persistent binding request included an undefined or otherwise in accessible Logical Unit Unique Identifier", "A persistent binding remove request included a binding which did not match a binding established by the specified port", "A SCSI command was requested to an Nx_Port that was not a SCSI Target Port", "A request was made concerning an unsupported FC-4 protocol", "A request was made to enable unimplemented capabilities for a port", "SCSI target is busy", "A call was made to HBA_FreeLibrary when no library was loaded", "A call was made to HBA_LoadLibrary when a library was already loaded", "FCID passed into HBA_SendRNIDV2 violates access control rules"} : Amended ToSubclass] uint32 HBAStatus,[out] uint8 ScsiStatus,[out] uint32 OutRespBufferSize,[out] uint32 OutSenseBufferSize,[out] uint8 RespBuffer[],[out] uint8 SenseBuffer[]);
};

[Description("") : Amended ToSubclass,AMENDMENT, LOCALE(0x0804)] 
class MS_SM_FabricAndDomainManagementMethods
{
  void SM_SendTEST([in] uint8 HbaPortWWN[],[in] uint8 DestWWN[],[in] uint32 DestFCID,[in] uint32 ReqBufferSize,[in] uint8 ReqBuffer[],[out,Description("HBA Status result for the query operation") : Amended ToSubclass,Values{"Operation was successful ", "Error ", "Function not supported.", "invalid handle ", "Bad argument ", "WWN not recognized ", "Index not recognized ", "Larger buffer required ", "Information has changed since the last call to HBA_RefreshInformation ", "SCSI Check Condition reported", "Adapter busy or reserved, retry may be effective", "Request timed out, retry may be effective", "Referenced HBA has been removed or deactivated", "The requested ELS was rejected by the local adapter", "The specified LUN is not provided by the specified adapter", "An incompatibility has been detected among the library and driver modules", "Multiple adapters have a matching WWN", "A persistent binding request included a bad local SCSI bus number", "A persistent binding request included a bad local SCSI target number", "A persistent binding request included a bad local SCSI logical unit number", "A persistent binding set request included a local SCSI ID that was already bound", "A persistent binding request included a bad or unlocatable FCP Target FCID", "A persistent binding request included a bad FCP Target Node WWN", "A persistent binding request included a bad FCP Target Port WWN", "A persistent binding request included an FCP Logical Unit Number not defined by the identified Target", "A persistent binding request included an undefined or otherwise in accessible Logical Unit Unique Identifier", "A persistent binding remove request included a binding which did not match a binding established by the specified port", "A SCSI command was requested to an Nx_Port that was not a SCSI Target Port", "A request was made concerning an unsupported FC-4 protocol", "A request was made to enable unimplemented capabilities for a port", "SCSI target is busy", "A call was made to HBA_FreeLibrary when no library was loaded", "A call was made to HBA_LoadLibrary when a library was already loaded", "FCID passed into HBA_SendRNIDV2 violates access control rules"} : Amended ToSubclass] uint32 HBAStatus);
  void SM_SendECHO([in] uint8 HbaPortWWN[],[in] uint8 DestWWN[],[in] uint32 DestFCID,[in] uint32 InRespBufferMaxSize,[in] uint32 ReqBufferSize,[in] uint8 ReqBuffer[],[out,Description("HBA Status result for the query operation") : Amended ToSubclass,Values{"Operation was successful ", "Error ", "Function not supported.", "invalid handle ", "Bad argument ", "WWN not recognized ", "Index not recognized ", "Larger buffer required ", "Information has changed since the last call to HBA_RefreshInformation ", "SCSI Check Condition reported", "Adapter busy or reserved, retry may be effective", "Request timed out, retry may be effective", "Referenced HBA has been removed or deactivated", "The requested ELS was rejected by the local adapter", "The specified LUN is not provided by the specified adapter", "An incompatibility has been detected among the library and driver modules", "Multiple adapters have a matching WWN", "A persistent binding request included a bad local SCSI bus number", "A persistent binding request included a bad local SCSI target number", "A persistent binding request included a bad local SCSI logical unit number", "A persistent binding set request included a local SCSI ID that was already bound", "A persistent binding request included a bad or unlocatable FCP Target FCID", "A persistent binding request included a bad FCP Target Node WWN", "A persistent binding request included a bad FCP Target Port WWN", "A persistent binding request included an FCP Logical Unit Number not defined by the identified Target", "A persistent binding request included an undefined or otherwise in accessible Logical Unit Unique Identifier", "A persistent binding remove request included a binding which did not match a binding established by the specified port", "A SCSI command was requested to an Nx_Port that was not a SCSI Target Port", "A request was made concerning an unsupported FC-4 protocol", "A request was made to enable unimplemented capabilities for a port", "SCSI target is busy", "A call was made to HBA_FreeLibrary when no library was loaded", "A call was made to HBA_LoadLibrary when a library was already loaded", "FCID passed into HBA_SendRNIDV2 violates access control rules"} : Amended ToSubclass] uint32 HBAStatus,[out] uint32 OutRespBufferSize,[out] uint8 RespBuffer[]);
  void SM_SendSMPPassThru([in] uint8 HbaPortWWN[],[in] uint8 DestPortWWN[],[in] uint8 DomainPortWWN[],[in] uint32 InRespBufferMaxSize,[in] uint32 ReqBufferSize,[in] uint8 ReqBuffer[],[out,Description("HBA Status result for the query operation") : Amended ToSubclass,Values{"Operation was successful ", "Error ", "Function not supported.", "invalid handle ", "Bad argument ", "WWN not recognized ", "Index not recognized ", "Larger buffer required ", "Information has changed since the last call to HBA_RefreshInformation ", "SCSI Check Condition reported", "Adapter busy or reserved, retry may be effective", "Request timed out, retry may be effective", "Referenced HBA has been removed or deactivated", "The requested ELS was rejected by the local adapter", "The specified LUN is not provided by the specified adapter", "An incompatibility has been detected among the library and driver modules", "Multiple adapters have a matching WWN", "A persistent binding request included a bad local SCSI bus number", "A persistent binding request included a bad local SCSI target number", "A persistent binding request included a bad local SCSI logical unit number", "A persistent binding set request included a local SCSI ID that was already bound", "A persistent binding request included a bad or unlocatable FCP Target FCID", "A persistent binding request included a bad FCP Target Node WWN", "A persistent binding request included a bad FCP Target Port WWN", "A persistent binding request included an FCP Logical Unit Number not defined by the identified Target", "A persistent binding request included an undefined or otherwise in accessible Logical Unit Unique Identifier", "A persistent binding remove request included a binding which did not match a binding established by the specified port", "A SCSI command was requested to an Nx_Port that was not a SCSI Target Port", "A request was made concerning an unsupported FC-4 protocol", "A request was made to enable unimplemented capabilities for a port", "SCSI target is busy", "A call was made to HBA_FreeLibrary when no library was loaded", "A call was made to HBA_LoadLibrary when a library was already loaded", "FCID passed into HBA_SendRNIDV2 violates access control rules"} : Amended ToSubclass] uint32 HBAStatus,[out] uint32 TotalRespBufferSize,[out] uint32 OutRespBufferSize,[out] uint8 RespBuffer[]);
  void SM_SendCTPassThru([in] uint8 HbaPortWWN[],[in] uint32 InRespBufferMaxSize,[in] uint32 ReqBufferSize,[in] uint8 ReqBuffer[],[out,Description("HBA Status result for the query operation") : Amended ToSubclass,Values{"Operation was successful ", "Error ", "Function not supported.", "invalid handle ", "Bad argument ", "WWN not recognized ", "Index not recognized ", "Larger buffer required ", "Information has changed since the last call to HBA_RefreshInformation ", "SCSI Check Condition reported", "Adapter busy or reserved, retry may be effective", "Request timed out, retry may be effective", "Referenced HBA has been removed or deactivated", "The requested ELS was rejected by the local adapter", "The specified LUN is not provided by the specified adapter", "An incompatibility has been detected among the library and driver modules", "Multiple adapters have a matching WWN", "A persistent binding request included a bad local SCSI bus number", "A persistent binding request included a bad local SCSI target number", "A persistent binding request included a bad local SCSI logical unit number", "A persistent binding set request included a local SCSI ID that was already bound", "A persistent binding request included a bad or unlocatable FCP Target FCID", "A persistent binding request included a bad FCP Target Node WWN", "A persistent binding request included a bad FCP Target Port WWN", "A persistent binding request included an FCP Logical Unit Number not defined by the identified Target", "A persistent binding request included an undefined or otherwise in accessible Logical Unit Unique Identifier", "A persistent binding remove request included a binding which did not match a binding established by the specified port", "A SCSI command was requested to an Nx_Port that was not a SCSI Target Port", "A request was made concerning an unsupported FC-4 protocol", "A request was made to enable unimplemented capabilities for a port", "SCSI target is busy", "A call was made to HBA_FreeLibrary when no library was loaded", "A call was made to HBA_LoadLibrary when a library was already loaded", "FCID passed into HBA_SendRNIDV2 violates access control rules"} : Amended ToSubclass] uint32 HBAStatus,[out] uint32 TotalRespBufferSize,[out] uint32 OutRespBufferSize,[out] uint8 RespBuffer[]);
  void SM_GetRNIDMgmtInfo([out,Description("HBA Status result for the query operation") : Amended ToSubclass,Values{"Operation was successful ", "Error ", "Function not supported.", "invalid handle ", "Bad argument ", "WWN not recognized ", "Index not recognized ", "Larger buffer required ", "Information has changed since the last call to HBA_RefreshInformation ", "SCSI Check Condition reported", "Adapter busy or reserved, retry may be effective", "Request timed out, retry may be effective", "Referenced HBA has been removed or deactivated", "The requested ELS was rejected by the local adapter", "The specified LUN is not provided by the specified adapter", "An incompatibility has been detected among the library and driver modules", "Multiple adapters have a matching WWN", "A persistent binding request included a bad local SCSI bus number", "A persistent binding request included a bad local SCSI target number", "A persistent binding request included a bad local SCSI logical unit number", "A persistent binding set request included a local SCSI ID that was already bound", "A persistent binding request included a bad or unlocatable FCP Target FCID", "A persistent binding request included a bad FCP Target Node WWN", "A persistent binding request included a bad FCP Target Port WWN", "A persistent binding request included an FCP Logical Unit Number not defined by the identified Target", "A persistent binding request included an undefined or otherwise in accessible Logical Unit Unique Identifier", "A persistent binding remove request included a binding which did not match a binding established by the specified port", "A SCSI command was requested to an Nx_Port that was not a SCSI Target Port", "A request was made concerning an unsupported FC-4 protocol", "A request was made to enable unimplemented capabilities for a port", "SCSI target is busy", "A call was made to HBA_FreeLibrary when no library was loaded", "A call was made to HBA_LoadLibrary when a library was already loaded", "FCID passed into HBA_SendRNIDV2 violates access control rules"} : Amended ToSubclass] uint32 HBAStatus,[out] HBAFC3MgmtInfo MgmtInfo);
  void SM_SetRNIDMgmtInfo([in] HBAFC3MgmtInfo MgmtInfo,[out,Description("HBA Status result for the query operation") : Amended ToSubclass,Values{"Operation was successful ", "Error ", "Function not supported.", "invalid handle ", "Bad argument ", "WWN not recognized ", "Index not recognized ", "Larger buffer required ", "Information has changed since the last call to HBA_RefreshInformation ", "SCSI Check Condition reported", "Adapter busy or reserved, retry may be effective", "Request timed out, retry may be effective", "Referenced HBA has been removed or deactivated", "The requested ELS was rejected by the local adapter", "The specified LUN is not provided by the specified adapter", "An incompatibility has been detected among the library and driver modules", "Multiple adapters have a matching WWN", "A persistent binding request included a bad local SCSI bus number", "A persistent binding request included a bad local SCSI target number", "A persistent binding request included a bad local SCSI logical unit number", "A persistent binding set request included a local SCSI ID that was already bound", "A persistent binding request included a bad or unlocatable FCP Target FCID", "A persistent binding request included a bad FCP Target Node WWN", "A persistent binding request included a bad FCP Target Port WWN", "A persistent binding request included an FCP Logical Unit Number not defined by the identified Target", "A persistent binding request included an undefined or otherwise in accessible Logical Unit Unique Identifier", "A persistent binding remove request included a binding which did not match a binding established by the specified port", "A SCSI command was requested to an Nx_Port that was not a SCSI Target Port", "A request was made concerning an unsupported FC-4 protocol", "A request was made to enable unimplemented capabilities for a port", "SCSI target is busy", "A call was made to HBA_FreeLibrary when no library was loaded", "A call was made to HBA_LoadLibrary when a library was already loaded", "FCID passed into HBA_SendRNIDV2 violates access control rules"} : Amended ToSubclass] uint32 HBAStatus);
  void SM_SendRNID([in] uint8 HbaPortWWN[],[in] uint8 DestWWN[],[in] uint32 DestFCID,[in] uint32 NodeIdDataFormat,[in] uint32 InRespBufferMaxSize,[out,Description("HBA Status result for the query operation") : Amended ToSubclass,Values{"Operation was successful ", "Error ", "Function not supported.", "invalid handle ", "Bad argument ", "WWN not recognized ", "Index not recognized ", "Larger buffer required ", "Information has changed since the last call to HBA_RefreshInformation ", "SCSI Check Condition reported", "Adapter busy or reserved, retry may be effective", "Request timed out, retry may be effective", "Referenced HBA has been removed or deactivated", "The requested ELS was rejected by the local adapter", "The specified LUN is not provided by the specified adapter", "An incompatibility has been detected among the library and driver modules", "Multiple adapters have a matching WWN", "A persistent binding request included a bad local SCSI bus number", "A persistent binding request included a bad local SCSI target number", "A persistent binding request included a bad local SCSI logical unit number", "A persistent binding set request included a local SCSI ID that was already bound", "A persistent binding request included a bad or unlocatable FCP Target FCID", "A persistent binding request included a bad FCP Target Node WWN", "A persistent binding request included a bad FCP Target Port WWN", "A persistent binding request included an FCP Logical Unit Number not defined by the identified Target", "A persistent binding request included an undefined or otherwise in accessible Logical Unit Unique Identifier", "A persistent binding remove request included a binding which did not match a binding established by the specified port", "A SCSI command was requested to an Nx_Port that was not a SCSI Target Port", "A request was made concerning an unsupported FC-4 protocol", "A request was made to enable unimplemented capabilities for a port", "SCSI target is busy", "A call was made to HBA_FreeLibrary when no library was loaded", "A call was made to HBA_LoadLibrary when a library was already loaded", "FCID passed into HBA_SendRNIDV2 violates access control rules"} : Amended ToSubclass] uint32 HBAStatus,[out] uint32 TotalRespBufferSize,[out] uint32 OutRespBufferSize,[out] uint8 RespBuffer[]);
  void SM_SendRPL([in] uint8 HbaPortWWN[],[in] uint8 AgentWWN[],[in] uint32 AgentDomain,[in] uint32 PortIndex,[in] uint32 InRespBufferMaxSize,[out,Description("HBA Status result for the query operation") : Amended ToSubclass,Values{"Operation was successful ", "Error ", "Function not supported.", "invalid handle ", "Bad argument ", "WWN not recognized ", "Index not recognized ", "Larger buffer required ", "Information has changed since the last call to HBA_RefreshInformation ", "SCSI Check Condition reported", "Adapter busy or reserved, retry may be effective", "Request timed out, retry may be effective", "Referenced HBA has been removed or deactivated", "The requested ELS was rejected by the local adapter", "The specified LUN is not provided by the specified adapter", "An incompatibility has been detected among the library and driver modules", "Multiple adapters have a matching WWN", "A persistent binding request included a bad local SCSI bus number", "A persistent binding request included a bad local SCSI target number", "A persistent binding request included a bad local SCSI logical unit number", "A persistent binding set request included a local SCSI ID that was already bound", "A persistent binding request included a bad or unlocatable FCP Target FCID", "A persistent binding request included a bad FCP Target Node WWN", "A persistent binding request included a bad FCP Target Port WWN", "A persistent binding request included an FCP Logical Unit Number not defined by the identified Target", "A persistent binding request included an undefined or otherwise in accessible Logical Unit Unique Identifier", "A persistent binding remove request included a binding which did not match a binding established by the specified port", "A SCSI command was requested to an Nx_Port that was not a SCSI Target Port", "A request was made concerning an unsupported FC-4 protocol", "A request was made to enable unimplemented capabilities for a port", "SCSI target is busy", "A call was made to HBA_FreeLibrary when no library was loaded", "A call was made to HBA_LoadLibrary when a library was already loaded", "FCID passed into HBA_SendRNIDV2 violates access control rules"} : Amended ToSubclass] uint32 HBAStatus,[out] uint32 TotalRespBufferSize,[out] uint32 OutRespBufferSize,[out] uint8 RespBuffer[]);
  void SM_SendRPS([in] uint8 HbaPortWWN[],[in] uint8 AgentWWN[],[in] uint8 ObjectWWN[],[in] uint32 AgentDomain,[in] uint32 ObjectPortNumber,[in] uint32 InRespBufferMaxSize,[out,Description("HBA Status result for the query operation") : Amended ToSubclass,Values{"Operation was successful ", "Error ", "Function not supported.", "invalid handle ", "Bad argument ", "WWN not recognized ", "Index not recognized ", "Larger buffer required ", "Information has changed since the last call to HBA_RefreshInformation ", "SCSI Check Condition reported", "Adapter busy or reserved, retry may be effective", "Request timed out, retry may be effective", "Referenced HBA has been removed or deactivated", "The requested ELS was rejected by the local adapter", "The specified LUN is not provided by the specified adapter", "An incompatibility has been detected among the library and driver modules", "Multiple adapters have a matching WWN", "A persistent binding request included a bad local SCSI bus number", "A persistent binding request included a bad local SCSI target number", "A persistent binding request included a bad local SCSI logical unit number", "A persistent binding set request included a local SCSI ID that was already bound", "A persistent binding request included a bad or unlocatable FCP Target FCID", "A persistent binding request included a bad FCP Target Node WWN", "A persistent binding request included a bad FCP Target Port WWN", "A persistent binding request included an FCP Logical Unit Number not defined by the identified Target", "A persistent binding request included an undefined or otherwise in accessible Logical Unit Unique Identifier", "A persistent binding remove request included a binding which did not match a binding established by the specified port", "A SCSI command was requested to an Nx_Port that was not a SCSI Target Port", "A request was made concerning an unsupported FC-4 protocol", "A request was made to enable unimplemented capabilities for a port", "SCSI target is busy", "A call was made to HBA_FreeLibrary when no library was loaded", "A call was made to HBA_LoadLibrary when a library was already loaded", "FCID passed into HBA_SendRNIDV2 violates access control rules"} : Amended ToSubclass] uint32 HBAStatus,[out] uint32 TotalRespBufferSize,[out] uint32 OutRespBufferSize,[out] uint8 RespBuffer[]);
  void SM_SendSRL([in] uint8 HbaPortWWN[],[in] uint8 WWN[],[in] uint32 Domain,[in] uint32 InRespBufferMaxSize,[out,Description("HBA Status result for the query operation") : Amended ToSubclass,Values{"Operation was successful ", "Error ", "Function not supported.", "invalid handle ", "Bad argument ", "WWN not recognized ", "Index not recognized ", "Larger buffer required ", "Information has changed since the last call to HBA_RefreshInformation ", "SCSI Check Condition reported", "Adapter busy or reserved, retry may be effective", "Request timed out, retry may be effective", "Referenced HBA has been removed or deactivated", "The requested ELS was rejected by the local adapter", "The specified LUN is not provided by the specified adapter", "An incompatibility has been detected among the library and driver modules", "Multiple adapters have a matching WWN", "A persistent binding request included a bad local SCSI bus number", "A persistent binding request included a bad local SCSI target number", "A persistent binding request included a bad local SCSI logical unit number", "A persistent binding set request included a local SCSI ID that was already bound", "A persistent binding request included a bad or unlocatable FCP Target FCID", "A persistent binding request included a bad FCP Target Node WWN", "A persistent binding request included a bad FCP Target Port WWN", "A persistent binding request included an FCP Logical Unit Number not defined by the identified Target", "A persistent binding request included an undefined or otherwise in accessible Logical Unit Unique Identifier", "A persistent binding remove request included a binding which did not match a binding established by the specified port", "A SCSI command was requested to an Nx_Port that was not a SCSI Target Port", "A request was made concerning an unsupported FC-4 protocol", "A request was made to enable unimplemented capabilities for a port", "SCSI target is busy", "A call was made to HBA_FreeLibrary when no library was loaded", "A call was made to HBA_LoadLibrary when a library was already loaded", "FCID passed into HBA_SendRNIDV2 violates access control rules"} : Amended ToSubclass] uint32 HBAStatus,[out] uint32 TotalRespBufferSize,[out] uint32 OutRespBufferSize,[out] uint8 RespBuffer[]);
  void SM_SendLIRR([in] uint8 SourceWWN[],[in] uint8 DestWWN[],[in] uint8 Function,[in] uint8 Type,[in] uint32 InRespBufferMaxSize,[out,Description("HBA Status result for the query operation") : Amended ToSubclass,Values{"Operation was successful ", "Error ", "Function not supported.", "invalid handle ", "Bad argument ", "WWN not recognized ", "Index not recognized ", "Larger buffer required ", "Information has changed since the last call to HBA_RefreshInformation ", "SCSI Check Condition reported", "Adapter busy or reserved, retry may be effective", "Request timed out, retry may be effective", "Referenced HBA has been removed or deactivated", "The requested ELS was rejected by the local adapter", "The specified LUN is not provided by the specified adapter", "An incompatibility has been detected among the library and driver modules", "Multiple adapters have a matching WWN", "A persistent binding request included a bad local SCSI bus number", "A persistent binding request included a bad local SCSI target number", "A persistent binding request included a bad local SCSI logical unit number", "A persistent binding set request included a local SCSI ID that was already bound", "A persistent binding request included a bad or unlocatable FCP Target FCID", "A persistent binding request included a bad FCP Target Node WWN", "A persistent binding request included a bad FCP Target Port WWN", "A persistent binding request included an FCP Logical Unit Number not defined by the identified Target", "A persistent binding request included an undefined or otherwise in accessible Logical Unit Unique Identifier", "A persistent binding remove request included a binding which did not match a binding established by the specified port", "A SCSI command was requested to an Nx_Port that was not a SCSI Target Port", "A request was made concerning an unsupported FC-4 protocol", "A request was made to enable unimplemented capabilities for a port", "SCSI target is busy", "A call was made to HBA_FreeLibrary when no library was loaded", "A call was made to HBA_LoadLibrary when a library was already loaded", "FCID passed into HBA_SendRNIDV2 violates access control rules"} : Amended ToSubclass] uint32 HBAStatus,[out] uint32 TotalRespBufferSize,[out] uint32 OutRespBufferSize,[out] uint8 RespBuffer[]);
  void SM_SendRLS([in] uint8 HbaPortWWN[],[in] uint8 DestWWN[],[in] uint32 InRespBufferMaxSize,[out,Description("HBA Status result for the query operation") : Amended ToSubclass,Values{"Operation was successful ", "Error ", "Function not supported.", "invalid handle ", "Bad argument ", "WWN not recognized ", "Index not recognized ", "Larger buffer required ", "Information has changed since the last call to HBA_RefreshInformation ", "SCSI Check Condition reported", "Adapter busy or reserved, retry may be effective", "Request timed out, retry may be effective", "Referenced HBA has been removed or deactivated", "The requested ELS was rejected by the local adapter", "The specified LUN is not provided by the specified adapter", "An incompatibility has been detected among the library and driver modules", "Multiple adapters have a matching WWN", "A persistent binding request included a bad local SCSI bus number", "A persistent binding request included a bad local SCSI target number", "A persistent binding request included a bad local SCSI logical unit number", "A persistent binding set request included a local SCSI ID that was already bound", "A persistent binding request included a bad or unlocatable FCP Target FCID", "A persistent binding request included a bad FCP Target Node WWN", "A persistent binding request included a bad FCP Target Port WWN", "A persistent binding request included an FCP Logical Unit Number not defined by the identified Target", "A persistent binding request included an undefined or otherwise in accessible Logical Unit Unique Identifier", "A persistent binding remove request included a binding which did not match a binding established by the specified port", "A SCSI command was requested to an Nx_Port that was not a SCSI Target Port", "A request was made concerning an unsupported FC-4 protocol", "A request was made to enable unimplemented capabilities for a port", "SCSI target is busy", "A call was made to HBA_FreeLibrary when no library was loaded", "A call was made to HBA_LoadLibrary when a library was already loaded", "FCID passed into HBA_SendRNIDV2 violates access control rules"} : Amended ToSubclass] uint32 HBAStatus,[out] uint32 TotalRespBufferSize,[out] uint32 OutRespBufferSize,[out] uint8 RespBuffer[]);
};

[Description("此类使 HBA 适配器事件出现") : Amended ToSubclass,AMENDMENT, LOCALE(0x0804)] 
class MS_SM_AdapterEvent : WMIEvent
{
  [Description("事件类型") : Amended ToSubclass] uint32 EventType;
  [Description("适配器 WWN") : Amended ToSubclass] uint8 PortWWN[];
};

[Description("此类使 HBA 端口事件出现") : Amended ToSubclass,AMENDMENT, LOCALE(0x0804)] 
class MS_SM_PortEvent : WMIEvent
{
  [Description("事件类型") : Amended ToSubclass,Values{"HBA_EVENT_ADAPTER_UNKNOWN", "HBA_EVENT_ADAPTER_ADD", "HBA_EVENT_ADAPTER_REMOVE", "HBA_EVENT_ADAPTER_CHANGE", "HBA_EVENT_PORT_UNKNOWN", "HBA_EVENT_PORT_OFFLINE", "HBA_EVENT_PORT_ONLINE", "HBA_EVENT_PORT_NEW_TARGETS", "HBA_EVENT_PORT_FABRIC", "HBA_EVENT_PORT_BROADCAST_CHANGE", "HBA_EVENT_PORT_BROADCAST_D24_0", "HBA_EVENT_PORT_BROADCAST_D27_4", "HBA_EVENT_PORT_BROADCAST_SES", "HBA_EVENT_PORT_BROADCAST_D01_4", "HBA_EVENT_PORT_BROADCAST_D04_7", "HBA_EVENT_PORT_BROADCAST_D16_7", "HBA_EVENT_PORT_BROADCAST_D29_7", "HBA_EVENT_PORT_ALL", "HBA_EVENT_PORT_STAT_THRESHOLD", "HBA_EVENT_PORT_STAT_GROWTH", "HBA_EVENT_PHY_STAT_THRESHOLD", "HBA_EVENT_PHY_STAT_GROWTH", "HBA_EVENT_TARGET_UNKNOWN", "HBA_EVENT_TARGET_OFFLINE", "HBA_EVENT_TARGET_ONLINE", "HBA_EVENT_TARGET_REMOVED", "HBA_EVENT_LINK_UNKNOWN", "HBA_EVENT_LINK_INCIDENT"} : Amended ToSubclass] uint32 EventType;
  [Description("光纤端口 ID") : Amended ToSubclass] uint32 FabricPortId;
  [Description("端口 WWN") : Amended ToSubclass] uint8 PortWWN[];
};

[Description("此类使 HBA 目标事件出现") : Amended ToSubclass,AMENDMENT, LOCALE(0x0804)] 
class MS_SM_TargetEvent : WmiEvent
{
  [Description("事件类型") : Amended ToSubclass,Values{"HBA_EVENT_ADAPTER_UNKNOWN", "HBA_EVENT_ADAPTER_ADD", "HBA_EVENT_ADAPTER_REMOVE", "HBA_EVENT_ADAPTER_CHANGE", "HBA_EVENT_PORT_UNKNOWN", "HBA_EVENT_PORT_OFFLINE", "HBA_EVENT_PORT_ONLINE", "HBA_EVENT_PORT_NEW_TARGETS", "HBA_EVENT_PORT_FABRIC", "HBA_EVENT_PORT_BROADCAST_CHANGE", "HBA_EVENT_PORT_BROADCAST_D24_0", "HBA_EVENT_PORT_BROADCAST_D27_4", "HBA_EVENT_PORT_BROADCAST_SES", "HBA_EVENT_PORT_BROADCAST_D01_4", "HBA_EVENT_PORT_BROADCAST_D04_7", "HBA_EVENT_PORT_BROADCAST_D16_7", "HBA_EVENT_PORT_BROADCAST_D29_7", "HBA_EVENT_PORT_ALL", "HBA_EVENT_PORT_STAT_THRESHOLD", "HBA_EVENT_PORT_STAT_GROWTH", "HBA_EVENT_PHY_STAT_THRESHOLD", "HBA_EVENT_PHY_STAT_GROWTH", "HBA_EVENT_TARGET_UNKNOWN", "HBA_EVENT_TARGET_OFFLINE", "HBA_EVENT_TARGET_ONLINE", "HBA_EVENT_TARGET_REMOVED", "HBA_EVENT_LINK_UNKNOWN", "HBA_EVENT_LINK_INCIDENT"} : Amended ToSubclass] uint32 EventType;
  [Description("端口 WWN") : Amended ToSubclass] uint8 PortWWN[];
  [Description("发现的端口 WWN") : Amended ToSubclass] uint8 DiscoveredPortWWN[];
  [Description("域端口 WWN") : Amended ToSubclass] uint8 DomainPortWWN[];
};

[Description("此类定义了将导致 HBA_EVENT_PORT_STAT_THRESHOLD 事件发生的端口统计信息阈值") : Amended ToSubclass,AMENDMENT, LOCALE(0x0804)] 
class MS_SM_EventControl
{
  void SM_AddTarget([in] uint8 HbaPortWWN[],[in] uint8 DiscoveredPortWWN[],[in] uint8 DomainPortWWN[],[in] uint32 AllTargets,[out,Description("HBA Status result for the query operation") : Amended ToSubclass,Values{"Operation was successful ", "Error ", "Function not supported.", "invalid handle ", "Bad argument ", "WWN not recognized ", "Index not recognized ", "Larger buffer required ", "Information has changed since the last call to HBA_RefreshInformation ", "SCSI Check Condition reported", "Adapter busy or reserved, retry may be effective", "Request timed out, retry may be effective", "Referenced HBA has been removed or deactivated", "The requested ELS was rejected by the local adapter", "The specified LUN is not provided by the specified adapter", "An incompatibility has been detected among the library and driver modules", "Multiple adapters have a matching WWN", "A persistent binding request included a bad local SCSI bus number", "A persistent binding request included a bad local SCSI target number", "A persistent binding request included a bad local SCSI logical unit number", "A persistent binding set request included a local SCSI ID that was already bound", "A persistent binding request included a bad or unlocatable FCP Target FCID", "A persistent binding request included a bad FCP Target Node WWN", "A persistent binding request included a bad FCP Target Port WWN", "A persistent binding request included an FCP Logical Unit Number not defined by the identified Target", "A persistent binding request included an undefined or otherwise in accessible Logical Unit Unique Identifier", "A persistent binding remove request included a binding which did not match a binding established by the specified port", "A SCSI command was requested to an Nx_Port that was not a SCSI Target Port", "A request was made concerning an unsupported FC-4 protocol", "A request was made to enable unimplemented capabilities for a port", "SCSI target is busy", "A call was made to HBA_FreeLibrary when no library was loaded", "A call was made to HBA_LoadLibrary when a library was already loaded", "FCID passed into HBA_SendRNIDV2 violates access control rules"} : Amended ToSubclass] uint32 HBAStatus);
  void SM_RemoveTarget([in] uint8 HbaPortWWN[],[in] uint8 DiscoveredPortWWN[],[in] uint8 DomainPortWWN[],[in] uint32 AllTargets,[out,Description("HBA Status result for the query operation") : Amended ToSubclass,Values{"Operation was successful ", "Error ", "Function not supported.", "invalid handle ", "Bad argument ", "WWN not recognized ", "Index not recognized ", "Larger buffer required ", "Information has changed since the last call to HBA_RefreshInformation ", "SCSI Check Condition reported", "Adapter busy or reserved, retry may be effective", "Request timed out, retry may be effective", "Referenced HBA has been removed or deactivated", "The requested ELS was rejected by the local adapter", "The specified LUN is not provided by the specified adapter", "An incompatibility has been detected among the library and driver modules", "Multiple adapters have a matching WWN", "A persistent binding request included a bad local SCSI bus number", "A persistent binding request included a bad local SCSI target number", "A persistent binding request included a bad local SCSI logical unit number", "A persistent binding set request included a local SCSI ID that was already bound", "A persistent binding request included a bad or unlocatable FCP Target FCID", "A persistent binding request included a bad FCP Target Node WWN", "A persistent binding request included a bad FCP Target Port WWN", "A persistent binding request included an FCP Logical Unit Number not defined by the identified Target", "A persistent binding request included an undefined or otherwise in accessible Logical Unit Unique Identifier", "A persistent binding remove request included a binding which did not match a binding established by the specified port", "A SCSI command was requested to an Nx_Port that was not a SCSI Target Port", "A request was made concerning an unsupported FC-4 protocol", "A request was made to enable unimplemented capabilities for a port", "SCSI target is busy", "A call was made to HBA_FreeLibrary when no library was loaded", "A call was made to HBA_LoadLibrary when a library was already loaded", "FCID passed into HBA_SendRNIDV2 violates access control rules"} : Amended ToSubclass] uint32 HBAStatus);
  void SM_AddPort([in] uint8 PortWWN[],[in,Values{"HBA_EVENT_ADAPTER_UNKNOWN", "HBA_EVENT_ADAPTER_ADD", "HBA_EVENT_ADAPTER_REMOVE", "HBA_EVENT_ADAPTER_CHANGE", "HBA_EVENT_PORT_UNKNOWN", "HBA_EVENT_PORT_OFFLINE", "HBA_EVENT_PORT_ONLINE", "HBA_EVENT_PORT_NEW_TARGETS", "HBA_EVENT_PORT_FABRIC", "HBA_EVENT_PORT_BROADCAST_CHANGE", "HBA_EVENT_PORT_BROADCAST_D24_0", "HBA_EVENT_PORT_BROADCAST_D27_4", "HBA_EVENT_PORT_BROADCAST_SES", "HBA_EVENT_PORT_BROADCAST_D01_4", "HBA_EVENT_PORT_BROADCAST_D04_7", "HBA_EVENT_PORT_BROADCAST_D16_7", "HBA_EVENT_PORT_BROADCAST_D29_7", "HBA_EVENT_PORT_ALL", "HBA_EVENT_PORT_STAT_THRESHOLD", "HBA_EVENT_PORT_STAT_GROWTH", "HBA_EVENT_PHY_STAT_THRESHOLD", "HBA_EVENT_PHY_STAT_GROWTH", "HBA_EVENT_TARGET_UNKNOWN", "HBA_EVENT_TARGET_OFFLINE", "HBA_EVENT_TARGET_ONLINE", "HBA_EVENT_TARGET_REMOVED", "HBA_EVENT_LINK_UNKNOWN", "HBA_EVENT_LINK_INCIDENT"} : Amended ToSubclass] uint32 EventType,[out,Description("HBA Status result for the query operation") : Amended ToSubclass,Values{"Operation was successful ", "Error ", "Function not supported.", "invalid handle ", "Bad argument ", "WWN not recognized ", "Index not recognized ", "Larger buffer required ", "Information has changed since the last call to HBA_RefreshInformation ", "SCSI Check Condition reported", "Adapter busy or reserved, retry may be effective", "Request timed out, retry may be effective", "Referenced HBA has been removed or deactivated", "The requested ELS was rejected by the local adapter", "The specified LUN is not provided by the specified adapter", "An incompatibility has been detected among the library and driver modules", "Multiple adapters have a matching WWN", "A persistent binding request included a bad local SCSI bus number", "A persistent binding request included a bad local SCSI target number", "A persistent binding request included a bad local SCSI logical unit number", "A persistent binding set request included a local SCSI ID that was already bound", "A persistent binding request included a bad or unlocatable FCP Target FCID", "A persistent binding request included a bad FCP Target Node WWN", "A persistent binding request included a bad FCP Target Port WWN", "A persistent binding request included an FCP Logical Unit Number not defined by the identified Target", "A persistent binding request included an undefined or otherwise in accessible Logical Unit Unique Identifier", "A persistent binding remove request included a binding which did not match a binding established by the specified port", "A SCSI command was requested to an Nx_Port that was not a SCSI Target Port", "A request was made concerning an unsupported FC-4 protocol", "A request was made to enable unimplemented capabilities for a port", "SCSI target is busy", "A call was made to HBA_FreeLibrary when no library was loaded", "A call was made to HBA_LoadLibrary when a library was already loaded", "FCID passed into HBA_SendRNIDV2 violates access control rules"} : Amended ToSubclass] uint32 HBAStatus);
  void SM_RemovePort([in] uint8 PortWWN[],[in,Values{"HBA_EVENT_ADAPTER_UNKNOWN", "HBA_EVENT_ADAPTER_ADD", "HBA_EVENT_ADAPTER_REMOVE", "HBA_EVENT_ADAPTER_CHANGE", "HBA_EVENT_PORT_UNKNOWN", "HBA_EVENT_PORT_OFFLINE", "HBA_EVENT_PORT_ONLINE", "HBA_EVENT_PORT_NEW_TARGETS", "HBA_EVENT_PORT_FABRIC", "HBA_EVENT_PORT_BROADCAST_CHANGE", "HBA_EVENT_PORT_BROADCAST_D24_0", "HBA_EVENT_PORT_BROADCAST_D27_4", "HBA_EVENT_PORT_BROADCAST_SES", "HBA_EVENT_PORT_BROADCAST_D01_4", "HBA_EVENT_PORT_BROADCAST_D04_7", "HBA_EVENT_PORT_BROADCAST_D16_7", "HBA_EVENT_PORT_BROADCAST_D29_7", "HBA_EVENT_PORT_ALL", "HBA_EVENT_PORT_STAT_THRESHOLD", "HBA_EVENT_PORT_STAT_GROWTH", "HBA_EVENT_PHY_STAT_THRESHOLD", "HBA_EVENT_PHY_STAT_GROWTH", "HBA_EVENT_TARGET_UNKNOWN", "HBA_EVENT_TARGET_OFFLINE", "HBA_EVENT_TARGET_ONLINE", "HBA_EVENT_TARGET_REMOVED", "HBA_EVENT_LINK_UNKNOWN", "HBA_EVENT_LINK_INCIDENT"} : Amended ToSubclass] uint32 EventType,[out,Description("HBA Status result for the query operation") : Amended ToSubclass,Values{"Operation was successful ", "Error ", "Function not supported.", "invalid handle ", "Bad argument ", "WWN not recognized ", "Index not recognized ", "Larger buffer required ", "Information has changed since the last call to HBA_RefreshInformation ", "SCSI Check Condition reported", "Adapter busy or reserved, retry may be effective", "Request timed out, retry may be effective", "Referenced HBA has been removed or deactivated", "The requested ELS was rejected by the local adapter", "The specified LUN is not provided by the specified adapter", "An incompatibility has been detected among the library and driver modules", "Multiple adapters have a matching WWN", "A persistent binding request included a bad local SCSI bus number", "A persistent binding request included a bad local SCSI target number", "A persistent binding request included a bad local SCSI logical unit number", "A persistent binding set request included a local SCSI ID that was already bound", "A persistent binding request included a bad or unlocatable FCP Target FCID", "A persistent binding request included a bad FCP Target Node WWN", "A persistent binding request included a bad FCP Target Port WWN", "A persistent binding request included an FCP Logical Unit Number not defined by the identified Target", "A persistent binding request included an undefined or otherwise in accessible Logical Unit Unique Identifier", "A persistent binding remove request included a binding which did not match a binding established by the specified port", "A SCSI command was requested to an Nx_Port that was not a SCSI Target Port", "A request was made concerning an unsupported FC-4 protocol", "A request was made to enable unimplemented capabilities for a port", "SCSI target is busy", "A call was made to HBA_FreeLibrary when no library was loaded", "A call was made to HBA_LoadLibrary when a library was already loaded", "FCID passed into HBA_SendRNIDV2 violates access control rules"} : Amended ToSubclass] uint32 HBAStatus);
  void SM_AddLink([out,Description("HBA Status result for the query operation") : Amended ToSubclass,Values{"Operation was successful ", "Error ", "Function not supported.", "invalid handle ", "Bad argument ", "WWN not recognized ", "Index not recognized ", "Larger buffer required ", "Information has changed since the last call to HBA_RefreshInformation ", "SCSI Check Condition reported", "Adapter busy or reserved, retry may be effective", "Request timed out, retry may be effective", "Referenced HBA has been removed or deactivated", "The requested ELS was rejected by the local adapter", "The specified LUN is not provided by the specified adapter", "An incompatibility has been detected among the library and driver modules", "Multiple adapters have a matching WWN", "A persistent binding request included a bad local SCSI bus number", "A persistent binding request included a bad local SCSI target number", "A persistent binding request included a bad local SCSI logical unit number", "A persistent binding set request included a local SCSI ID that was already bound", "A persistent binding request included a bad or unlocatable FCP Target FCID", "A persistent binding request included a bad FCP Target Node WWN", "A persistent binding request included a bad FCP Target Port WWN", "A persistent binding request included an FCP Logical Unit Number not defined by the identified Target", "A persistent binding request included an undefined or otherwise in accessible Logical Unit Unique Identifier", "A persistent binding remove request included a binding which did not match a binding established by the specified port", "A SCSI command was requested to an Nx_Port that was not a SCSI Target Port", "A request was made concerning an unsupported FC-4 protocol", "A request was made to enable unimplemented capabilities for a port", "SCSI target is busy", "A call was made to HBA_FreeLibrary when no library was loaded", "A call was made to HBA_LoadLibrary when a library was already loaded", "FCID passed into HBA_SendRNIDV2 violates access control rules"} : Amended ToSubclass] uint32 HBAStatus);
  void SM_RemoveLink([out,Description("HBA Status result for the query operation") : Amended ToSubclass,Values{"Operation was successful ", "Error ", "Function not supported.", "invalid handle ", "Bad argument ", "WWN not recognized ", "Index not recognized ", "Larger buffer required ", "Information has changed since the last call to HBA_RefreshInformation ", "SCSI Check Condition reported", "Adapter busy or reserved, retry may be effective", "Request timed out, retry may be effective", "Referenced HBA has been removed or deactivated", "The requested ELS was rejected by the local adapter", "The specified LUN is not provided by the specified adapter", "An incompatibility has been detected among the library and driver modules", "Multiple adapters have a matching WWN", "A persistent binding request included a bad local SCSI bus number", "A persistent binding request included a bad local SCSI target number", "A persistent binding request included a bad local SCSI logical unit number", "A persistent binding set request included a local SCSI ID that was already bound", "A persistent binding request included a bad or unlocatable FCP Target FCID", "A persistent binding request included a bad FCP Target Node WWN", "A persistent binding request included a bad FCP Target Port WWN", "A persistent binding request included an FCP Logical Unit Number not defined by the identified Target", "A persistent binding request included an undefined or otherwise in accessible Logical Unit Unique Identifier", "A persistent binding remove request included a binding which did not match a binding established by the specified port", "A SCSI command was requested to an Nx_Port that was not a SCSI Target Port", "A request was made concerning an unsupported FC-4 protocol", "A request was made to enable unimplemented capabilities for a port", "SCSI target is busy", "A call was made to HBA_FreeLibrary when no library was loaded", "A call was made to HBA_LoadLibrary when a library was already loaded", "FCID passed into HBA_SendRNIDV2 violates access control rules"} : Amended ToSubclass] uint32 HBAStatus);
};

[Description("") : Amended ToSubclass,AMENDMENT, LOCALE(0x0804)] 
class MSFC_TM
{
};
