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

# UFromSz(3w)

## NAME

**UFromSz** (MAPI32.133)

## SYNOPSIS

UINT UFromSz\
  (\
   LPCSTR *lpszStr*\
  )

## DESCRIPTION

Read an integer from a string.

## PARAMS

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

## RETURNS

**Success:** The integer read from *lpszStr*.

**Failure:** **0**, if the first character in *lpszStr* is not **0-9.**

## NOTES

This function does not accept whitespace and stops at the first non-digit character.

## IMPLEMENTATION

Declared in **"mapiutil.h"**.

Implemented in **"dlls/mapi32/util.c"**.

Debug channel **"mapi"**.
