win32api.RegOpenCurrentUser

PyHKEY = RegOpenCurrentUser(samDesired)

Opens HKEY_CURRENT_USER for impersonated user

Parameters

samDesired=MAXIMUM_ALLOWED : int

Desired access, combination of win32con.KEY_*

Win32 API References

Search for RegOpenCurrentUser at msdn, google or google groups.