ClusterRegCloseBatchNotifyPort function (clusapi.h)

Closes a subscription to a batch notification port created by the ClusterRegCreateBatchNotifyPort function.

Syntax

LONG ClusterRegCloseBatchNotifyPort(
  [in] HREGBATCHPORT hBatchNotifyPort
);

Parameters

[in] hBatchNotifyPort

A handle to the batch notification port created earlier via the ClusterRegCreateBatchNotifyPort function.

Return value

The function returns one of the following system error codes.

Return code/value Description
ERROR_SUCCESS
0
The operation was successful.
ERROR_INVALID_HANDLE
6
The handle is not valid.

Remarks

The PCLUSTER_REG_CLOSE_BATCH_NOTIFY_PORT type defines a pointer to this function.

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2008 Datacenter, Windows Server 2008 Enterprise
Target Platform Windows
Header clusapi.h
Library ClusAPI.lib
DLL ClusAPI.dll

See also

Cluster Registry Access Functions

ClusterRegCreateBatchNotifyPort