DoneEx INI-File Manager Library API Help |
The function GetSection retrieve the name of section by the section index.
int GetSection(long ini_file_num, long section_index, char** section_name, long buf_len ); |
Return Values
If succeed the GetSection function returns zero.
Otherwise it returns value not equal to zero.
To get extended error information, call GetLastErr.
Remark
As the unnamed section always presents then the correct value of section_index
parameter is more then zero.