I've got a plugin that writes to an ini file some code that's similar to this:
Is it possible to "search" that INI file without knowing what the section headers are?
I know GetPrivateProfileString would allow me to "read" from a particular section (if I knew what section it was), but is there a way to reverse it? In other words, could I search the INI file for "Name5" and have it return the "Another Day&Time" section header?
Anyone know if that's possible?
Code:
[Day&Time]
1=Name1
2=Name2
3=Name3
[Another Day&Time]
1=Name4
2=Name5
...
Is it possible to "search" that INI file without knowing what the section headers are?
I know GetPrivateProfileString would allow me to "read" from a particular section (if I knew what section it was), but is there a way to reverse it? In other words, could I search the INI file for "Name5" and have it return the "Another Day&Time" section header?
Anyone know if that's possible?