INtime SDK Help
CfgStringToDWORD

Convert a string to integer.

DWORD CfgStringToDWORD(
LPCSTR src,
    DWORD* pDst
);

Parameters

src
(in) Pointer to a string containing the number. It should not be NULL or empty.
pDst
(out) Pointer to DWORD to receive the result.

Return values

ECFG_OK for success or an error code on failure.

Remarks

Read a string and convert it to a DWORD value. The string may be in hexadecimal or decimal format.

Errors

ECFG_PARSEWARN
The string does not obey the rules for a number
See Also