RegOpenCurrentUser function advapi32
Retrieves a handle to the HKEY_CURRENT_USER key for the user the current thread is impersonating.
LSTATUS RegOpenCurrentUser(
REGSAM samDesired,
PHKEY phkResult);
Implementation
int RegOpenCurrentUser(int samDesired, Pointer<IntPtr> phkResult) =>
_RegOpenCurrentUser(samDesired, phkResult);