ClusterRegDeleteValue function (clusapi.h)

Removes a named value from a cluster database key.

Syntax

DWORD ClusterRegDeleteValue(
  [in] HKEY    hKey,
  [in] LPCWSTR lpszValueName
);

Parameters

[in] hKey

Handle to a currently open key.

[in] lpszValueName

Pointer to a null-terminated Unicode string containing the name of the value to be removed.

Return value

If the operation succeeds, the function returns ERROR_SUCCESS.

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

Remarks

Do not call ClusterRegDeleteValue from the following resource DLL entry point functions:

ClusterRegDeleteValue can be safely called from any other resource DLL entry point function or from a worker thread. For more information, see Function Calls to Avoid in Resource DLLs.

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