Get DWORD value for a parameter.
DWORD CfgParGetDWORD(
    CFGFILE cFile,
    LPCSTR  szSection,
    LPCSTR  szPar,
    DWORD*  pDest
); 
Parameters
cFile 
- (in) File handle retrieved by previous CfgFileOpen with argument CFG_SECTION as type. 
 szSection 
- (in) Name of section in which the parameter is searched. 
 szPar 
- (in) Name of parameter. 
 pDest 
- (out) Pointer to DWORD to receive the value. 
 
Return values
ECFG_OK for success or an error code on failure.
Remarks
Read the DWORD value for a section/parameter.
Errors
ECFG_BADCFGFILE 
- File handle out of range or invalid 
 
ECFG_WRONGTYPE 
- The value is not a DWORD. 
 
ECFG_NOTFOUND 
- Section name not found 
 
ECFG_NOTFOUND2 
- Parameter name not found 
 
ECFG_WRONGFILETYPE 
- Wrong file type 
 
            
            See Also