ClusterOpenEnumEx 函数 (clusapi.h)
打开群集的句柄以循环访问其对象。
语法
HCLUSENUMEX ClusterOpenEnumEx(
[in] HCLUSTER hCluster,
[in] DWORD dwType,
[in, optional] [in, optional] PVOID pOptions
);
参数
[in] hCluster
群集的句柄。
[in] dwType
描述要枚举的对象类型的位掩码。 这必须是一个或多个 CLUSTER_ENUM 枚举值。
[in, optional] [in, optional] pOptions
选项。
返回值
如果操作成功,则 返回群集枚举器的句柄。
如果操作失败,该函数将返回 NULL。 有关错误的详细信息,请调用函数 GetLastError。
要求
要求 | 值 |
---|---|
最低受支持的客户端 | 无受支持的版本 |
最低受支持的服务器 | Windows Server 2008 R2 Datacenter、Windows Server 2008 R2 Enterprise |
目标平台 | Windows |
标头 | clusapi.h |
Library | ClusAPI.lib |
DLL | ClusAPI.dll |