The information in this article applies to:
SUMMARY
Microsoft Windows provides profile files which are a mechanism for an
application to store configuration about itself. The WIN.INI file is
the system profile file in which Windows stores configuration
information about itself. In versions of Windows prior to version 3.0,
applications also stored configuration information in the WIN.INI
file. Windows 3.0 introduced private profile files, which can store
application-specific information.
The GetPrivateProfileString and GetProfileString functions read the
string value and discard the quotation marks.
MORE INFORMATIONThis behavior allows spaces to be put into a string. For example, the profile entry keyname = stringreturns the string without a leading space, whereas
returns the string with a leading space.
Doubling quotation marks includes quotation marks in the string. For example:
returns the string with its quotation marks -- 'string' or "string".
Additional query words:
Keywords : kbNTOS kbWinOS2000 kbSDKWin32 kbGrpUser kbWinOS |
Last Reviewed: January 28, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |