RegQueryValue function advapi32
Retrieves the data associated with the default or unnamed value of a specified registry key. The data must be a null-terminated string.
LSTATUS RegQueryValueW(
HKEY hKey,
LPCWSTR lpSubKey,
LPWSTR lpData,
PLONG lpcbData);
Implementation
int RegQueryValue(int hKey, Pointer<Utf16> lpSubKey, Pointer<Utf16> lpData,
Pointer<Int32> lpcbData) =>
_RegQueryValue(hKey, lpSubKey, lpData, lpcbData);