ClusterRegDeleteValue function

Removes a named value from a cluster database key.

Syntax

DWORD ClusterRegDeleteValue(
  HKEY    hKey,
  LPCWSTR lpszValueName
);

Parameters

hKey

Handle to a currently open key.

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

   
Windows version None supported Windows Server 2008 Enterprise, Windows Server 2008 Datacenter
Target Platform Windows
Header clusapi.h
Library ClusAPI.lib
DLL ClusAPI.dll

See Also

ClusterRegOpenKey