win32api.RegConnectRegistry

int = RegConnectRegistry(computerName, key )

Establishes a connection to a predefined registry handle on another computer.

Parameters

computerName : string

The name of the remote computer, of the form \\\\computername. If None, the local computer is used.

key : int

The predefined handle. May be win32con.HKEY_LOCAL_MACHINE or win32con.HKEY_USERS.

Win32 API References

Search for RegConnectRegistry at msdn, google or google groups.

Return Value

The return value is the handle of the opened key. If the function fails, an exception is raised.