RtWtoi

RtWtoi converts a given string value to an integer.

Syntax

INT RtWtoi(
    constant WCHAR lpString
);

Parameters

lpString

The source Unicode string.

Return Value

The integer value of the string

Remarks

RtWtoi is similar to wtoi, but RtWtoi does not require the Microsoft C Runtime library and can work with any combination of runtime libraries.

This function supports decimal digits only, and does not allow leading whitespace or signs.

Requirements

Minimum Supported Version RTX64 2013
Header Rtapi.h
Library RtApi.lib (Windows), Rtx_Rtss.lib (RTSS)

See Also:

RtAtoi

RtWPrintf