win32api.RegOpenKeyTransacted

PyHKEY = RegOpenKeyTransacted(Key, SubKey , samDesired , Transaction , Options )

Opens a registry key as part of a transaction

Parameters

Key : PyHKEY/int

Registry key or one of win32con.HKEY_* values

SubKey : PyUnicode

Name of subkey to open. Can be None to reopen an existing key.

samDesired : int

Access allowed to handle, combination of win32con.KEY_* constants. Can also contain standard access rights such as DELETE, WRITE_OWNER, etc.

Transaction : PyHANDLE

Handle to a transaction as returned by win32transaction::CreateTransaction

Options=0 : int

Reserved, use only 0

Comments

Accepts keyword arguments.

Requires Vista or later.

Win32 API References

Search for RegOpenKeyTransacted at msdn, google or google groups.

Return Value

Returns a transacted registry handle. Note that operations on subkeys are not automatically transacted.