ClusterRegCloseBatchNotifyPort 函数 (clusapi.h)

关闭 由 ClusterRegCreateBatchNotifyPort 函数创建的批处理通知端口的订阅。

语法

LONG ClusterRegCloseBatchNotifyPort(
  [in] HREGBATCHPORT hBatchNotifyPort
);

参数

[in] hBatchNotifyPort

之前通过 ClusterRegCreateBatchNotifyPort 函数创建的批处理通知端口的句柄。

返回值

函数返回以下 系统错误代码之一。

返回代码/值 说明
ERROR_SUCCESS
0
操作成功。
ERROR_INVALID_HANDLE
6
句柄无效。

注解

PCLUSTER_REG_CLOSE_BATCH_NOTIFY_PORT类型定义指向此函数的指针。

要求

要求
最低受支持的客户端 无受支持的版本
最低受支持的服务器 Windows Server 2008 Datacenter、Windows Server 2008 企业版
目标平台 Windows
标头 clusapi.h
Library ClusAPI.lib
DLL ClusAPI.dll

另请参阅

群集注册表访问函数

ClusterRegCreateBatchNotifyPort