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

# wnsprintfA(3w)

## NAME

**wnsprintfA** (SHLWAPI.@)

## SYNOPSIS

int wnsprintfA\
  (\
   LPSTR  *lpOut*,\
   int    *cchLimitIn*,\
   LPCSTR *lpFmt*,

## DESCRIPTION

Print formatted output to a string, up to a maximum number of chars.

## PARAMS

*lpOut* **\[Out\]**  Destination for output string.

*cchLimitIn* **\[In\]**  Maximum number of characters to write.

*lpFmt* **\[In\]**  Format string.

## RETURNS

**Success:** The number of characters written.

**Failure:** **-1.**

## IMPLEMENTATION

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

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

Debug channel **"string"**.
