win32api.RegOverridePredefKey

RegOverridePredefKey(Key, NewKey)

Redirects one of the predefined keys to different key

Parameters

Key : PyHKEY

One of the predefined registry keys (win32con.HKEY_*)

NewKey : PyHKEY

Registry key to which it will be redirected. Pass None to restore original key.

Comments

Requires Windows 2000 or later.

Win32 API References

Search for RegOverridePredefKey at msdn, google or google groups.