ResUtilSetDwordValue

The ResUtilSetDwordValue utility function sets a numeric value in the cluster database.

DWORD WINAPI ResUtilSetDwordValue(
  HKEY ClusterKey, 
  LPCWSTR ValueName, 
  DWORD NewValue,   
  LPDWORD OutValue  
);
 

Parameters

ClusterKey
[in] Key identifying the location of the numeric value in the cluster database.
ValueName
[in] Name of the value to update.
NewValue
[in] New DWORD value.
OutValue
[in, out] Pointer to where the updated value should be copied to.

Return Values

ERROR_SUCCESS
The operation completed successfully.

If the operation was unsuccessful, ResUtilSetDwordValue returns a Win32® error value.

Notes to Callers

ResUtilSetDwordValue updates the cluster database by calling the Cluster API function ClusterRegSetValue.

QuickInfo

  Version: Use Windows NT Server Enterprise Edition 4.0.
  Windows CE: Unsupported.
  Header: Declared in clusapi.h.