EnumeratePreferencesGroup()
EnumeratePreferencesGroup()
Suggestion/wish: A command to get all the groups (one at at a time) of an opened preferences file.
"emulator"

Code: Select all
secbuffer.s = Space(1000)
seclen = GetPrivateProfileSectionNames_(@secbuffer,1000,"c:\windows\inf\agp.inf");syntax inf = syntax ini
tmp.s
i.l
While seclen > i
tmp = PeekS(@secbuffer+i)
Debug tmp
i=i+Len(tmp)+1
Wend
["1:0>1"]