INtime SDK Help
CfgNetRemoveAll

Remove all settings of one type.

DWORD CfgNetRemoveAll(
CFGFILE cFile,
    LPCSTR  keyword
);

Parameters

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

Return values

ECFG_OK for success or an error code on failure.

Remarks

Removes a given keyword and its value from file.

Errors

ECFG_BADCFGFILE
File handle out of range or invalid
ECFG_LIMIT
Size of buffer too small.
ECFG_WRONGFILETYPE
Wrong file type
See Also