RegGetValue function advapi32
Retrieves the type and data for the specified registry value.
LSTATUS RegGetValueW(
HKEY hkey,
LPCWSTR lpSubKey,
LPCWSTR lpValue,
DWORD dwFlags,
LPDWORD pdwType,
PVOID pvData,
LPDWORD pcbData);
Implementation
int RegGetValue(
int hkey,
Pointer<Utf16> lpSubKey,
Pointer<Utf16> lpValue,
int dwFlags,
Pointer<Uint32> pdwType,
Pointer pvData,
Pointer<Uint32> pcbData) =>
_RegGetValue(hkey, lpSubKey, lpValue, dwFlags, pdwType, pvData, pcbData);