Description
DWORD Cfg(
CFGFILE cFile
);
Parameters
cFile
- (in) File handle retrieved by previous CfgFileOpen.
Return values
ECFG_OK for success or an error code on failure.
Remarks
Remarks go here.
Errors
ECFG_PARSEWARN
- Warning during parsing of file
ECFG_BADCFGFILE
- File handle out of range or invalid
ECFG_LIMIT
- No more space to store information
ECFG_ALREADY
- Entry already exists
ECFG_NOTFOUND
- Section name not found
ECFG_NOTFOUND2
- Parameter name not found
ECFG_NOMORE
- No more elements
ECFG_WRONGTYPE
- Wrong type
ECFG_MEM
- Not enough memory
ECFG_PARSEFAIL
- Parse failure
ECFG_WRONGFILETYPE
- Wrong file type
See Also