win32api.RegDeleteTree

RegDeleteTree(Key, SubKey)

Recursively deletes a key's subkeys and values

Parameters

Key : PyHKEY

Handle to a registry key

SubKey : PyUnicode

Name of subkey to be deleted, or None for all subkeys and values

Comments

Accepts keyword args.

Requires Vista or later.