The existing win.ini functions have been preserved. However, developers are encouraged to take advantage of the registry functionality.
The .ini file functions include:
Function | Description |
GetPrivateProfileInt | Returns an integer value in a section from a private initialization file |
GetPrivateProfileSection | Returns all the key name and value pairs for a section of a private initialization file |
GetPrivateProfileString | Returns a character string in a section from a private initialization file |
GetProfileInt | Returns an integer value in a section from the WIN.INI file |
GetProfileSection | Returns all the key name and value pairs for a section of the WIN.INI file |
GetProfileString | Returns a character string in a section from the WIN.INI file |
WritePrivateProfileSection | Writes all the key name and value pairs for a section of a private initialization file |
WritePrivateProfileString | Copies a character string to a private initialization file, or deletes one or more lines in a private initialization file“ |
WriteProfileSection | Writes all the key name and value pairs for a section of the WIN.INI file |
WriteProfileString | Copies a character string to the WIN.INI file, or deletes one or more lines from WIN.INI” |