INtime SDK Help
CfgNetClear

Clear content of file.

DWORD CfgNetClear(
CFGFILE cFile,
); 

Parameters

cFile
(in) File handle retrieved by previous CfgFileOpen with argument CFG_NET_EQUAL or CFG_NET_SPACE as type.

Return values

ECFG_OK for success or an error code on failure.

Remarks

Clear all lines from file.

Errors

ECFG_BADCFGFILE
File handle out of range or invalid
ECFG_WRONGFILETYPE
Wrong file type
See Also