The ResUtilSetExpandSzValue utility function sets an expandable string value in the cluster database.
DWORD WINAPI ResUtilSetExpandSzValue(
HKEY ClusterKey,
LPCWSTR ValueName,
LPCWSTR NewValue,
LPWSTR * OutValue
);
ResUtilSetExpandSzValue can also return Win32® error codes that are returned by ClusterRegSetValue.
ResUtilSetExpandSzValue allocates memory for the new value and calls the Cluster API function ClusterRegSetValue.
An expandable string value contains data that represents a null-terminated Unicode string that contains unexpanded references to environment variables such as "%PATH%".
Version: Use Windows NT Server Enterprise Edition 4.0.
Windows CE: Unsupported.
Header: Declared in clusapi.h.