This function returns the number of subkeys in the currently opened key. You must first make a call to EnumKeyInit before using this function.
EnumKeyCount (Count As Long) As Long
Parameters
Count
[out] Number of subkeys in the currently opened key.
Return Value
0: success
1: failed