Library of functions for working with INI-files. Includes five functions for reading values from an INI-file:
- ReadIniArrayInt();
- ReadIniBool();
- ReadIniDouble();
- ReadIniInteger();
- ReadIniString();
and five functions for writing the values to an INI-file:
- WriteIniArrayInt();
- WriteIniBool();
- WriteIniDouble();
- WriteIniInteger();
- WriteIniString().
Thus, there are five pairs of functions to read/write the values of 'integer array', 'boolean', 'double', 'integer' and 'string' types.
Each of these functions takes the main parameters:
- FileName - full file name;
- SectionName - section name;
- KeyName - parameter name.
Uses the WinAPI functions from the kernel32.dll module:
- GetPrivateProfileStringA();
- WritePrivateProfileStringA().