The ResUtilGetSzValue utility function returns a string value from the cluster database.
LPWSTR WINAPI ResUtilGetSzValue(
HKEY ClusterKey,
LPCWSTR ValueName
);
If the operation was successful, ResUtilGetSzValue returns a pointer to a buffer containing the string value.
If the operation was unsuccessful, ResUtilGetSzValue returns NULL. A call can be made to the Win32 function GetLastError for more information.
ResUtilGetSzValue allocates the necessary memory for the string parameter value before calling the Cluster API function ClusterRegQueryValue to access the cluster database. When you are finished with this memory, you must call the Win32 function LocalFree to release it.
Version: Use Windows NT Server Enterprise Edition 4.0.
Windows CE: Unsupported.
Header: Declared in clusapi.h.