ClusterRegCloseBatchNotifyPort function

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

Syntax


LONG WINAPI ClusterRegCloseBatchNotifyPort(
  _In_  HREGBATCHPORT hBatchNotifyPort
);

Parameters

hBatchNotifyPort [in]

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/valueDescription
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

Minimum supported client

None supported

Minimum supported server

Windows Server 2008 Datacenter, Windows Server 2008 Enterprise

Header

ClusAPI.h

Library

ClusAPI.lib

DLL

ClusAPI.dll

See also

Cluster Registry Access Functions
ClusterRegCreateBatchNotifyPort

 

 

Show:
© 2014 Microsoft