win32api.RegEnumValue

(string,object,type) = RegEnumValue(key, index )

Enumerates values of the specified open registry key. The function retrieves the name of one subkey each time it is called.

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

index : int

The index of the key to retrieve.

Comments

This function is typically called repeatedly, until an exception is raised, indicating no more values.

Win32 API References

Search for PyRegEnumValue at msdn, google or google groups.