INtime SDK Help
CfgLoadRemove

Remove an entry from file.

DWORD Cfg(
CFGFILE cFile,
    int     n
); 

Parameters

cFile
(in) File handle retrieved by previous CfgFileOpen with CFG_LOAD as type.
n
(in) The number in the file to remove.

Return values

ECFG_OK for success or an error code on failure.

Remarks

Removes the n line in the file.

Errors

ECFG_BADCFGFILE
File handle out of range or invalid
ECFG_NOMORE
The file does not contain a line with number n
ECFG_WRONGFILETYPE
The file handle does not point to a load file
See Also