EnumSectionCount

This function returns the number of sections in the opened .ini file.You must first make a call to EnumSectionInit before using this function.

EnumSectionCount (Count As Long) As Long

Parameters

Count

[out] Number of sections in the file.

Return Value

0: success
1: failed, cannot enumerate