RegSetKeyValue function advapi32
Sets the data for the specified value in the specified registry key and subkey.
LSTATUS RegSetKeyValueW(
HKEY hKey,
LPCWSTR lpSubKey,
LPCWSTR lpValueName,
DWORD dwType,
LPCVOID lpData,
DWORD cbData);
Implementation
int RegSetKeyValue(int hKey, Pointer<Utf16> lpSubKey,
Pointer<Utf16> lpValueName, int dwType, Pointer lpData, int cbData) =>
_RegSetKeyValue(hKey, lpSubKey, lpValueName, dwType, lpData, cbData);