DoneEx INI-File Manager Library API Help |
The AddKey function add new key into .INI file structure in memory
int AddKey(const long ini_file_num, const long section_index, const char* key_name, const char* key_value ); |
Return Values
If succeed the AddKey function returns zero.
Otherwise it returns value not equal to zero.
To get extended error information, call GetLastErr.
Remark
The new key will be added to the latest line of indicated section. For add new comment the first
simbol of key name has to be symbol ";".