---
name: "StrToIntA"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/StrToIntA"
---

# StrToIntA(3w)

## NAME

**StrToIntA** (SHLWAPI.@)

## SYNOPSIS

int StrToIntA\
  (\
   LPCSTR *lpszStr*\
  )

## DESCRIPTION

Read a signed integer from a string.

## PARAMS

*lpszStr* **\[In\]**  String to read integer from.

## RETURNS

The signed integer value represented by the string, or **0** if no integer is present.

## NOTES

No leading space is allowed before the number, although a leading **'-'** is.

## IMPLEMENTATION

Declared in **"shlwapi.h"**.

Implemented in **"dlls/shlwapi/string.c"**.

Debug channel **"shell"**.
