I want to know if it is possible to use GetPrivateProfileString to read a section where the keys are duplicate. I try it, but I can only retreive one key. This is my file format

[Section Name]
KeyOne = ItemOne
KeyOne = ItemTwo
KeyOne = ItemThree

For any reason, I can only retrieve item one. I want to know and how if I can format GetPrivateString in a form, where the first time it executes it will retrieve keyone from the first line, then go to the next line to read the next keyone.