From dfe17b1f9ebe06a20f1ddf56609997926fc4383f Mon Sep 17 00:00:00 2001 From: Dimitriy Ryazantcev Date: Tue, 28 Oct 2025 14:07:02 +0200 Subject: [PATCH 1/7] Update ToUnicodeEx function documentation Add info on extended key format. --- sdk-api-src/content/winuser/nf-winuser-tounicodeex.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/sdk-api-src/content/winuser/nf-winuser-tounicodeex.md b/sdk-api-src/content/winuser/nf-winuser-tounicodeex.md index 1ef433c45a0..e332fcb07da 100644 --- a/sdk-api-src/content/winuser/nf-winuser-tounicodeex.md +++ b/sdk-api-src/content/winuser/nf-winuser-tounicodeex.md @@ -74,7 +74,11 @@ The virtual-key code to be translated. See scan code of the key to be translated. The high-order bit of this value is set if the key is up. +The hardware scan code of the key to be translated. + +If the bit 8 (0x0100) of wScanCode is set, the key is an extended key. + +The high-order bit (0x8000) of this value is set if the key is up. ### -param lpKeyState [in] @@ -197,3 +201,4 @@ As ToUnicodeEx translates the virtual-key code, it also changes the state VkKeyScan + From ab6e551f1494b88d29527f9c5d604b640129a95d Mon Sep 17 00:00:00 2001 From: Dimitriy Ryazantcev Date: Tue, 28 Oct 2025 14:23:33 +0200 Subject: [PATCH 2/7] Update ToUnicode function documentation --- sdk-api-src/content/winuser/nf-winuser-tounicode.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/sdk-api-src/content/winuser/nf-winuser-tounicode.md b/sdk-api-src/content/winuser/nf-winuser-tounicode.md index 02757ad0cc1..3b12e3179be 100644 --- a/sdk-api-src/content/winuser/nf-winuser-tounicode.md +++ b/sdk-api-src/content/winuser/nf-winuser-tounicode.md @@ -68,7 +68,11 @@ The virtual-key code to be translated. See scan code of the key to be translated. The high-order bit of this value is set if the key is up. +The hardware scan code of the key to be translated. + +If the bit 8 (0x0100) of this value is set, the key is an extended key. + +If the bit 15 (0x8000) of this value is set, the key is up. ### -param lpKeyState [in, optional] @@ -183,3 +187,4 @@ As ToUnicode translates the virtual-key code, it also changes the state o VkKeyScan + From 49546c975f3b5cddd6daa9e652c79c2098eef890 Mon Sep 17 00:00:00 2001 From: Dimitriy Ryazantcev Date: Tue, 28 Oct 2025 14:24:04 +0200 Subject: [PATCH 3/7] Update nf-winuser-tounicodeex.md --- sdk-api-src/content/winuser/nf-winuser-tounicodeex.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sdk-api-src/content/winuser/nf-winuser-tounicodeex.md b/sdk-api-src/content/winuser/nf-winuser-tounicodeex.md index e332fcb07da..04b1093ce26 100644 --- a/sdk-api-src/content/winuser/nf-winuser-tounicodeex.md +++ b/sdk-api-src/content/winuser/nf-winuser-tounicodeex.md @@ -76,9 +76,9 @@ Type: UINT The hardware scan code of the key to be translated. -If the bit 8 (0x0100) of wScanCode is set, the key is an extended key. +If the bit 8 (0x0100) of this value is set, the key is an extended key. -The high-order bit (0x8000) of this value is set if the key is up. +If the bit 15 (0x8000) of this value is set, the key is up. ### -param lpKeyState [in] @@ -202,3 +202,4 @@ As ToUnicodeEx translates the virtual-key code, it also changes the state VkKeyScan + From fbc0bd5fcb815a5e9ba4cec6308205319a4c724c Mon Sep 17 00:00:00 2001 From: Dimitriy Ryazantcev Date: Tue, 28 Oct 2025 14:24:54 +0200 Subject: [PATCH 4/7] Update ToUnicodeEx function documentation --- .../content/winuser/nf-winuser-tounicodeex.md | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/sdk-api-src/content/winuser/nf-winuser-tounicodeex.md b/sdk-api-src/content/winuser/nf-winuser-tounicodeex.md index 04b1093ce26..38b87c9b858 100644 --- a/sdk-api-src/content/winuser/nf-winuser-tounicodeex.md +++ b/sdk-api-src/content/winuser/nf-winuser-tounicodeex.md @@ -182,24 +182,12 @@ As ToUnicodeEx translates the virtual-key code, it also changes the state Conceptual - - Keyboard Input - - LoadKeyboardLayout - - Reference - - ToAsciiEx - - VkKeyScan - - From 6b59a9fdfde7541cdcee0bd4cdf94ec42ef5004a Mon Sep 17 00:00:00 2001 From: Dimitriy Ryazantcev Date: Tue, 28 Oct 2025 14:25:24 +0200 Subject: [PATCH 5/7] Update nf-winuser-tounicode.md --- sdk-api-src/content/winuser/nf-winuser-tounicode.md | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/sdk-api-src/content/winuser/nf-winuser-tounicode.md b/sdk-api-src/content/winuser/nf-winuser-tounicode.md index 3b12e3179be..d3b66c958e6 100644 --- a/sdk-api-src/content/winuser/nf-winuser-tounicode.md +++ b/sdk-api-src/content/winuser/nf-winuser-tounicode.md @@ -168,23 +168,12 @@ As ToUnicode translates the virtual-key code, it also changes the state o Conceptual - - Keyboard Input - - Reference - - ToAscii - - ToUnicodeEx - - VkKeyScan - From 2819455fb6666dd57cbc599ca830b027a3a79436 Mon Sep 17 00:00:00 2001 From: Dimitriy Ryazantcev Date: Tue, 28 Oct 2025 14:44:09 +0200 Subject: [PATCH 6/7] Update nf-winuser-tounicodeex.md --- sdk-api-src/content/winuser/nf-winuser-tounicodeex.md | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/sdk-api-src/content/winuser/nf-winuser-tounicodeex.md b/sdk-api-src/content/winuser/nf-winuser-tounicodeex.md index 38b87c9b858..35283daa424 100644 --- a/sdk-api-src/content/winuser/nf-winuser-tounicodeex.md +++ b/sdk-api-src/content/winuser/nf-winuser-tounicodeex.md @@ -74,11 +74,7 @@ The virtual-key code to be translated. See scan code of the key to be translated. - -If the bit 8 (0x0100) of this value is set, the key is an extended key. - -If the bit 15 (0x8000) of this value is set, the key is up. +The hardware scan code of the key to be translated. Low byte must contain the last make byte; set bit 8 (0x0100) for extended key; set bit 15 (0x8000) for key-up. ### -param lpKeyState [in] @@ -191,3 +187,4 @@ As ToUnicodeEx translates the virtual-key code, it also changes the state ToAsciiEx VkKeyScan + From 259985717f45d6ff5026287bab188f5ec095b4d6 Mon Sep 17 00:00:00 2001 From: Dimitriy Ryazantcev Date: Tue, 28 Oct 2025 14:44:32 +0200 Subject: [PATCH 7/7] Update nf-winuser-tounicode.md --- sdk-api-src/content/winuser/nf-winuser-tounicode.md | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/sdk-api-src/content/winuser/nf-winuser-tounicode.md b/sdk-api-src/content/winuser/nf-winuser-tounicode.md index d3b66c958e6..e7be27c1a3f 100644 --- a/sdk-api-src/content/winuser/nf-winuser-tounicode.md +++ b/sdk-api-src/content/winuser/nf-winuser-tounicode.md @@ -68,11 +68,7 @@ The virtual-key code to be translated. See scan code of the key to be translated. - -If the bit 8 (0x0100) of this value is set, the key is an extended key. - -If the bit 15 (0x8000) of this value is set, the key is up. +The hardware scan code of the key to be translated. Low byte must contain the last make byte; set bit 8 (0x0100) for extended key; set bit 15 (0x8000) for key-up. ### -param lpKeyState [in, optional] @@ -177,3 +173,4 @@ As ToUnicode translates the virtual-key code, it also changes the state o ToUnicodeEx VkKeyScan +