RegSetValue function advapi32
Sets the data for the default or unnamed value of a specified registry key. The data must be a text string.
LSTATUS RegSetValueW(
HKEY hKey,
LPCWSTR lpSubKey,
DWORD dwType,
LPCWSTR lpData,
DWORD cbData);
Implementation
int RegSetValue(int hKey, Pointer<Utf16> lpSubKey, int dwType,
Pointer<Utf16> lpData, int cbData) =>
_RegSetValue(hKey, lpSubKey, dwType, lpData, cbData);