ini file:
GetProfileString
MAPILogon
sndPlaySound
SQLGetPrivateProfileString
One more way to retrieve environment strings
Reading and setting Environment variables
Reading data from INI files
Reading entries from Event logs
Reading keys in the specified section of the Win.ini file
Storing the environment strings in cursor
Writing entries to custom Event Log
Writing to INI file