win32api.RegEnumKeyEx

tuple = RegEnumKeyEx(Key)

Lists subkeys of a registry key

Parameters

Key : PyHKEY/int

An already open key, or any one of the following win32con constants:
HKEY_CLASSES_ROOT
HKEY_CURRENT_USER
HKEY_LOCAL_MACHINE
HKEY_USERS.

Return Value

Returns subkeys as tuples of (name, reserved, class, last write time). Reserved will always be 0.