DoneEx INI-File Manager Library  API Help

  LoadINI

The LoadINI function loads data from disk .INI file to memory structure.

        
long LoadINI(char* ini_file_name);

Parameters
ini_file_name
[input] Pointer to a null-terminated string that names the file to be loaded.

Return Value
If the function succeeds, it returns the zero-based number of INI file.
If the function fails, the return value is less then 0.
To get extended error information, call GetLastErr.

Remarks
Returned file number may be used by another .INI file manager functions.
Use UpdateINI to save the data from internal structure to disk file.