diff --git a/sdk-api-src/content/winuser/nf-winuser-wsprintfa.md b/sdk-api-src/content/winuser/nf-winuser-wsprintfa.md index 254a5b1f0f0a..424fb0f1d81d 100644 --- a/sdk-api-src/content/winuser/nf-winuser-wsprintfa.md +++ b/sdk-api-src/content/winuser/nf-winuser-wsprintfa.md @@ -61,7 +61,7 @@ Writes formatted data to the specified buffer. Any arguments are converted and c Type: LPTSTR -The buffer that is to receive the formatted output. The maximum size of the buffer is 1,024 bytes. +The buffer that is to receive the formatted output. The maximum size of the buffer is 1025 bytes (1024 characters and space for a null-terminator). ### -param unnamedParam2 [in] @@ -184,6 +184,16 @@ Unsigned short integer.
Signed decimal integer. This value is equivalent to d. +
+
Id
+
+64-bit signed decimal integer on 64-bit platforms, 32-bit signed decimal integer on 32-bit platforms. + +
+
Iu
+
+64-bit unsigned decimal integer on 64-bit platforms, 32-bit unsigned decimal integer on 32-bit platforms. +
Ix, IX
@@ -253,7 +263,7 @@ Unsigned hexadecimal integer in lowercase or uppercase.
Note  It is important to note that wsprintf uses the C calling convention (_cdecl), rather than the standard call (_stdcall) calling convention. As a result, it is the responsibility of the calling process to pop arguments off the stack, and arguments are pushed on the stack from right to left. In C-language modules, the C compiler performs this task.
 
-To use buffers larger than 1024 bytes, use _snwprintf. For more information, see the documentation for the C run-time library. +To format strings larger than 1024 characters, use _snwprintf. For more information, see the documentation for the C run-time library. diff --git a/sdk-api-src/content/winuser/nf-winuser-wsprintfw.md b/sdk-api-src/content/winuser/nf-winuser-wsprintfw.md index 3dd0693e0b98..00208fe8c179 100644 --- a/sdk-api-src/content/winuser/nf-winuser-wsprintfw.md +++ b/sdk-api-src/content/winuser/nf-winuser-wsprintfw.md @@ -61,7 +61,7 @@ Writes formatted data to the specified buffer. Any arguments are converted and c Type: LPTSTR -The buffer that is to receive the formatted output. The maximum size of the buffer is 1,024 bytes. +The buffer that is to receive the formatted output. The maximum size of the buffer is 2050 bytes (1024 characters and space for a null-terminator). ### -param unnamedParam2 [in] @@ -184,6 +184,16 @@ Unsigned short integer.
Signed decimal integer. This value is equivalent to d. +
+
Id
+
+64-bit signed decimal integer on 64-bit platforms, 32-bit signed decimal integer on 32-bit platforms. + +
+
Iu
+
+64-bit unsigned decimal integer on 64-bit platforms, 32-bit unsigned decimal integer on 32-bit platforms. +
Ix, IX
@@ -253,7 +263,7 @@ Unsigned hexadecimal integer in lowercase or uppercase.
Note  It is important to note that wsprintf uses the C calling convention (_cdecl), rather than the standard call (_stdcall) calling convention. As a result, it is the responsibility of the calling process to pop arguments off the stack, and arguments are pushed on the stack from right to left. In C-language modules, the C compiler performs this task.
 
-To use buffers larger than 1024 bytes, use _snwprintf. For more information, see the documentation for the C run-time library. +To format strings larger than 1024 characters, use _snwprintf. For more information, see the documentation for the C run-time library. diff --git a/sdk-api-src/content/winuser/nf-winuser-wvsprintfa.md b/sdk-api-src/content/winuser/nf-winuser-wvsprintfa.md index c47a845a3420..80d0c6035be1 100644 --- a/sdk-api-src/content/winuser/nf-winuser-wvsprintfa.md +++ b/sdk-api-src/content/winuser/nf-winuser-wvsprintfa.md @@ -63,7 +63,7 @@ Writes formatted data to the specified buffer using a pointer to a list of argum Type: LPTSTR -The buffer that is to receive the formatted output. The maximum size of the buffer is 1,024 bytes. +The buffer that is to receive the formatted output. The maximum size of the buffer is 1025 bytes (1024 characters and space for a null-terminator). ### -param unnamedParam2 [in] diff --git a/sdk-api-src/content/winuser/nf-winuser-wvsprintfw.md b/sdk-api-src/content/winuser/nf-winuser-wvsprintfw.md index f7cfb0136152..82e83ac228ad 100644 --- a/sdk-api-src/content/winuser/nf-winuser-wvsprintfw.md +++ b/sdk-api-src/content/winuser/nf-winuser-wvsprintfw.md @@ -63,7 +63,7 @@ Writes formatted data to the specified buffer using a pointer to a list of argum Type: LPTSTR -The buffer that is to receive the formatted output. The maximum size of the buffer is 1,024 bytes. +The buffer that is to receive the formatted output. The maximum size of the buffer is 1025 bytes (1024 characters and space for a null-terminator). ### -param unnamedParam2 [in]