Group: Registry - Library: kernel32
BOOL WritePrivateProfileSection(
LPCTSTR lpAppName, // section name
LPCTSTR lpString, // data
LPCTSTR lpFileName // file name
);
DECLARE WritePrivateProfileSection IN kernel32;
STRING lpAppName,;
STRING lpString,;
STRING lpFileName
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.
If the function succeeds, the return value is nonzero.