StrToIntExA (SHLWAPI.@)
BOOL StrToIntExA ( LPCSTR lpszStr, DWORD dwFlags, LPINT lpiRet )
Read an integer from a string.
lpszStr | [In] | String to read integer from. |
dwFlags | [In] | Flags controlling the conversion. |
lpiRet | [Out] | Destination for read integer. |
Success: TRUE. lpiRet contains the integer value represented by the string.
Failure: FALSE, if the string is invalid, or no number is present.
Leading whitespace, '-' and '+' are allowed before the number. If dwFlags includes STIF_SUPPORT_HEX, hexadecimal numbers are allowed, if preceded by '0x'. If this flag is not set, or there is no '0x' prefix, the string is treated as a decimal string. A leading '-' is ignored for hexadecimal numbers.
Defined in "shlwapi.h".
Implemented in "dlls/shlwapi/string.c". source.winehq.org/source/dlls/shlwapi/string.c
Debug channel "shell".
Copyright © 2006 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Oct 2006.