This function returns the name of a key in the enumerating section. You must first make a call to EnumKeyInit before using this function.
EnumKeyGet (KeyIndex As Long, KeyName As String, KeyValue As String) As Long
Parameters
KeyIndex
[in] Index of the key name to retrieve. Index goes from 1 to KeyCount.
KeyName
[out] Return the name of the key.
KeyValue
[out] Return the value of the key as a string.
Return Value
0: success
1: failed
2: invalid index