Reference

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".

History