StrToIntExStrToIntEx*
*Contents  *Index  *Topic Contents
*Previous Topic: StrToInt
*Next Topic: StrTrim

StrToIntEx


BOOL StrToIntEx(
    LPCTSTR pszString,
    DWORD dwFlags,
    int FAR * piRet
    );

Converts a decimal or hexadecimal string to an integer.

pszString
Address of a null-terminated string to be converted.
dwFlags
Specifies if pszString contains a decimal or hexadecimal value. This can be one of the following values:
STIF_DEFAULT pszString contains a decimal value.
STIF_SUPPORT_HEX pszString contains a hexadecimal value.
piRet
Address of an integer variable that receives the converted string.

Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.