Share via


atoi (Compact 2013)

3/26/2014

This function converts a given string to an integer.

Syntax

int WINAPI atoi(
  const TCHAR* sz
);

Parameters

  • sz
    Source character string.

Return Value

Returns the string's integer value.

Remarks

This version of atoi supports only decimal digits, and does not allow leading white space or signs. It supports both Unicode and ANSI strings. Other versions can vary.

Requirements

Header

dshow.h

Library

Strmiids.lib

See Also

Reference

Conversion Functions
IntToWstr
WstrToInt