RegOpenCurrentUser (KERNELBASE.@)
LSTATUS RegOpenCurrentUser ( REGSAM access, PHKEY retkey )
Get a handle to the HKEY_CURRENT_USER key for the user the current thread is impersonating.
access | [In] | Desired access rights to the key. |
retkey | [Out] | Handle to the opened key. |
Success: ERROR_SUCCESS
Failure: nonzero error code from Winerror.h.
This function is supposed to retrieve a handle to the HKEY_CURRENT_USER for the user the current thread is impersonating. Since Wine does not currently allow threads to impersonate other users, this stub should work fine.
Declared in "include/winreg.h". gitlab.winehq.org/wine/wine/blob/master/include/winreg.h
Implemented in "dlls/kernelbase/registry.c". gitlab.winehq.org/wine/wine/blob/master/dlls/kernelbase/registry.c
Debug channel "reg".
Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Dec 2024.