I am trying to enumerate the values inside of a key. I am trying to use _winreg.EnumValue. EnumValue takes two inputs, key and index.
key is an already open key, or any one of the predefined HKEY_* constants.
index is an integer that identifies the index of the key to retrieve.
I want to start at the first value in the key and go to the end, so I use 0 ( or various integers) as the index, but
it seems to have no rhym or rhythm to it. If I use 10 for the index I don't get the 10th value I get the 11th, if I use 9 for the index i don't get the 9th value but the 3rd.
I know I am probably not being clear but hopefully somebody understands my question.
key is an already open key, or any one of the predefined HKEY_* constants.
index is an integer that identifies the index of the key to retrieve.
I want to start at the first value in the key and go to the end, so I use 0 ( or various integers) as the index, but
it seems to have no rhym or rhythm to it. If I use 10 for the index I don't get the 10th value I get the 11th, if I use 9 for the index i don't get the 9th value but the 3rd.
I know I am probably not being clear but hopefully somebody understands my question.