win32api.RegQueryInfoKey

(int, int, long) = RegQueryInfoKey(key)

Returns the number of subkeys, the number of values a key has, and if available the last time the key was modified as 100's of nanoseconds since Jan 1, 1600.

Parameters

key : PyHKEY/int

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

Win32 API References

Search for RegQueryInfoKey at msdn, google or google groups.