INF: wsprintf Buffer Limit in Windows

ID Number: Q77255

3.00 3.10

WINDOWS

Summary:

The wsprintf(lpOutput, lpFormat [, argument] ...) function formats and

stores a series of characters and values in a buffer specified by the

first parameter, lpOutput. This buffer is limited to 1K (1024 bytes);

in other words, the largest buffer that wsprintf can use is 1K.

If an application tries to use a buffer larger than 1K, the string

will be truncated automatically to a length of 1K.

Additional reference words: 3.00 3.10 3.x