>>108
char SectionNames[1024];
GetPrivateProfileSectionNamesA(SectionNames, 1024, FilePath.c_str());

char *CheckString = SectionNames;

while (*CheckString) {
string SectionName = CheckString;
std::cout << SectionName << endl; //Section名を使った処理
CheckString += SectionName.length() + 1;
}