Enumerating Registry Keys
A version of this page is also available for
4/8/2010
Use the RegEnumKeyEx function to enumerate the subkeys of a specified key. Call the RegEnumValue function to enumerate the values in a specified key. Each of these functions receives an index number that moves the function to the next key or value. When there are no more keys or values, they return the ERROR_NO_MORE_ITEMS.