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

# wvnsprintfA(3w)

## NAME

**wvnsprintfA** (SHLWAPI.@)

## SYNOPSIS

INT wvnsprintfA\
  (\
   LPSTR        *buffer*,\
   INT          *maxlen*,\
   LPCSTR       *spec*,\
   \_\_ms\_va\_list *args*\
  )

## DESCRIPTION

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

## PARAMS

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

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

*spec* **\[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"**.
