ClusterRegCloseKey function (clusapi.h)

Releases the handle of a cluster database key.

Syntax

LONG ClusterRegCloseKey(
  [in] HKEY hKey
);

Parameters

[in] hKey

Handle to the cluster database key to be closed.

Return value

If the operation succeeds, the function returns ERROR_SUCCESS.

If the operation fails, the function returns a system error code.

Requirements

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

See also

ClusterRegOpenKey