The information in this article applies to:
SUMMARY
The WriteProfileString function provides a mechanism to maintain the
system profile file WIN.INI. In versions of Windows prior to version
3.0, an application could call the WriteProfileString function to add
entries to WIN.INI or to modify existing entries. However, to delete
an entry from WIN.INI, the user was required to edit the file
manually.
MORE INFORMATION
The parameters passed to the WriteProfileString function refer to the following selection from an example WIN.INI file:
To delete the line KeyName = DATA, call the WriteProfileString function as follows:
To delete the value DATA, change the call to the following:
To delete the entire MY_APP section, make the following call:
Additional query words: 3.00 3.10
Keywords : kb16bitonly kbSDKPlatform kbSysSettings |
Last Reviewed: June 7, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |