ResUtilGetMultiSzValue

The ResUtilGetMultiSzValue utility function returns a multiple string value from the cluster database.

DWORD WINAPI ResUtilGetMultiSzValue(
  HKEY ClusterKey,              
  LPCWSTR ValueName,           
  LPBYTE * OutValue,   
  LPDWORD OutValueSize          
);
 

Parameters

ClusterKey
[in] Key identifying the location of the multiple string value in the cluster database.
ValueName
[in] Pointer to the name of the value to retrieve.
OutValue
[out] Address of the pointer to the retrieved value.
OutValueSize
[out] Pointer to a DWORD in which the size in bytes of the buffer pointed to by OutValue is returned.

Return Values

ERROR_SUCCESS
The operation completed successfully.
ERROR_NOT_ENOUGH_MEMORY
An error occurred during memory allocation.

ResUtilGetMultiSzValue can also return Win32® error codes that are returned by ClusterRegQueryValue.

Notes to Callers

When you are finished with the memory allocated for the value, you must call the Win32 function LocalFree to release it.

QuickInfo

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