INtime SDK Help
CfgFileSave

Save data to file.

DWORD CfgFileSave(
CFGFILE cFile
);

Parameters

cFile
(in) File handle retrieved by previous CfgFileOpen.

Return values

ECFG_OK for success or an error code on failure.

Remarks

Saves the local content to the file. In case the file is not marked as dirty, the function returns without file system access.

Errors

ECFG_NOTFOUND
File not found or not accessible for write
ECFG_WRONGFILETYPE
Wrong file type
See Also