DoneEx INI-File Manager Library API Help |
The DeleteSection function delete the section from .INI file structure in memory.
int DeleteSection(const long ini_file_num, const long section_index ); |
Return Values
If succeed the DeleteSection function returns zero.
Otherwise it returns value not equal to zero.
To get extended error information, call GetLastErr.
Remark
Section with number 0 cannot be deleted because it exists always.