int Ini_ReadFromFile (IniText handle, const char pathname[]);
Reads the tag/value pairs in the file identified by pathname into the list identified by handle.
If you want to read the data from a source other than a file or the Windows Registry, use the Ini_ReadGeneric function.
| Input | ||
| Name | Type | Description |
| handle | IniText | A handle returned from Ini_New. It represents the list of in-memory tag/value pairs. |
| pathname | const char [] | The pathname of the file from which to read the tag/value pairs. If the pathname is not absolute, the file is located relative to the current working directory. |
| Name | Type | Description | ||||||||||||||||||||
| status | integer | Indicates whether the function was successful. A zero indicates success. A negative value indicates an error. If the value is from Among the more commonly encountered errors are:
|