[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
int pascal WriteProfileString(char *szApp, char *szKey, char *szVal)

  This function writes a key/value pair to the MEWEL.INI file under the
[szApp] section. If the key already exists, then a new value will be
written on the right-hand size of the "szKey=" statement.

Parameters
  szApp is the name of the application.
  szKey is the name of the key.
  szVal is the null-terminated string to output on the right hand side of
        the "szKey=" line in the MEWEL.INI file.

Returns
  TRUE if the string was written, FALSE if not.



The format of the MEWEL.INI file is as follows:

[application1 name]
key1=value1
key2=value2

[application2 name]
key1=value1
key2=value2



.

This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson