This function returns the number of keys in the section specified by EnumKeyInit().You must first make a call to EnumKeyInit before using this function.
EnumKeyCount (Count As Long) As Long
Parameters
Count
[out] Number of keys in the section.
Return Value
0: success
1: failed, cannot enumerate