| DoneEx INI-File Manager Library API Help |
The function GetKeyValue retrieves the value of key by the key index inside indicated section.
int GetKeyValue(long ini_file_num,
long section_index,
long key_index,
char **key_value,
long buf_size
);
|
Return Values
If succeed the GetKeyValue function returns zero.
Otherwise it returns value not equal to zero.
To get extended error information, call GetLastErr.
| INI-file example |
|---|
;this is comment ;place before first named section belongs to the unnamed section unnamed_section_key=value ; [Section1] section1_key_name=value of section1 key ; [Section2] section2 key name=value of section2 key |