win32api.RegEnumKey
string = RegEnumKey(key, index )
Enumerates subkeys of the specified open registry key. The function retrieves the name of one subkey each time it is called.
Parameters
HKEY_CLASSES_ROOT
HKEY_CURRENT_USER
HKEY_LOCAL_MACHINE
HKEY_USERS
Win32 API References