 |
WritePrivateProfileSection ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
Replaces the keys and values for the specified section in an initialization file. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
BOOL WritePrivateProfileSection(
LPCTSTR lpAppName, // section name
LPCTSTR lpString, // data
LPCTSTR lpFileName // file name
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE WritePrivateProfileSection IN kernel32;
STRING lpAppName,;
STRING lpString,;
STRING lpFileName
|
 |
 |
 |
| Parameters: |
 |
lpAppName
[in] Pointer to a null-terminated string specifying the name of the section in which data is written.
lpString
[in] Pointer to a buffer containing the new key names and associated values that are to be written to the named section.
lpFileName
[in] Pointer to a null-terminated string containing the name of the initialization file. |
 |
 |
| Return value: |
 |
| If the function succeeds, the return value is nonzero. |
 |
 |
| Word Index links for the WritePrivateProfileSection : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2001-09-04 12:00:00 | | Modified: | 2001-11-26 16:03:35 | Visited in last 7 days: 15 |