Set parameter as a string.
DWORD CfgParSetString(
CFGFILE cFile,
LPCSTR szSection,
LPCSTR szPar,
LPCSTR szVal
);
cFile
szSection
szPar
szVal
ECFG_OK for success or an error code on failure.
Read the string value for a section/parameter. If there is no comment for the given parameter, the buffer is set to an empty string. In case of ECFG_LIMIT the pLen contains the size of buffer needed, nothing is copied to the buffer.
ECFG_BADCFGFILE
ECFG_WRONGTYPE
ECFG_MEM
ECFG_NOTFOUND
ECFG_NOTFOUND2
ECFG_WRONGFILETYPE