From 57c6b830e4b40e9b030a50ae1abb35b3f85069dc Mon Sep 17 00:00:00 2001
From: chrchr-github <78114321+chrchr-github@users.noreply.github.com>
Date: Wed, 11 Mar 2026 11:43:34 +0100
Subject: [PATCH 1/4] Update windows.cfg
---
cfg/windows.cfg | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/cfg/windows.cfg b/cfg/windows.cfg
index 7020162805a..d698f320d3f 100644
--- a/cfg/windows.cfg
+++ b/cfg/windows.cfg
@@ -3504,7 +3504,7 @@ HFONT CreateFont(
-
+
@@ -3559,7 +3559,7 @@ HFONT CreateFont(
-
+
@@ -4120,7 +4120,7 @@ HFONT CreateFont(
-
+
From 82f1210a97154985d184c975af12269bdc0f9ba2 Mon Sep 17 00:00:00 2001
From: chrchr-github <78114321+chrchr-github@users.noreply.github.com>
Date: Wed, 11 Mar 2026 11:45:24 +0100
Subject: [PATCH 2/4] Update windows.cpp
---
test/cfg/windows.cpp | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/test/cfg/windows.cpp b/test/cfg/windows.cpp
index a07e1b09365..288a1eb6ad9 100644
--- a/test/cfg/windows.cpp
+++ b/test/cfg/windows.cpp
@@ -1223,3 +1223,13 @@ void SEH_unusedLabel() { // #13233
__finally {
}
}
+
+HWND constParameterPointer_CreateWindow(void* param) { // #14560
+ return CreateWindow(L"MessageWnd", NULL, 0, 0, 0, 0, 0, HWND_MESSAGE, NULL, NULL, param);
+}
+
+void constParameterPointer_SetupDiGetDeviceInstanceId(HDEVINFO info, SP_DEVINFO_DATA *data) {
+ const DWORD buffer_size = 256;
+ char buffer[buffer_size];
+ SetupDiGetDeviceInstanceId(info, data, buffer, buffer_size, NULL);
+}
From c69f564bdaf1255c3ae30c4d86022b6af668e12e Mon Sep 17 00:00:00 2001
From: chrchr-github <78114321+chrchr-github@users.noreply.github.com>
Date: Wed, 11 Mar 2026 13:03:23 +0100
Subject: [PATCH 3/4] Update windows.cpp
---
test/cfg/windows.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/test/cfg/windows.cpp b/test/cfg/windows.cpp
index 288a1eb6ad9..0f18c266a36 100644
--- a/test/cfg/windows.cpp
+++ b/test/cfg/windows.cpp
@@ -11,6 +11,7 @@
#include
#include
+#include
#include
#include
#include
From e513c1cfaf5d59f19b4eafb3c73627824adb4907 Mon Sep 17 00:00:00 2001
From: chrchr-github <78114321+chrchr-github@users.noreply.github.com>
Date: Wed, 11 Mar 2026 13:55:47 +0100
Subject: [PATCH 4/4] Update windows.cpp
---
test/cfg/windows.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/cfg/windows.cpp b/test/cfg/windows.cpp
index 0f18c266a36..f92c9941d81 100644
--- a/test/cfg/windows.cpp
+++ b/test/cfg/windows.cpp
@@ -1231,6 +1231,6 @@ HWND constParameterPointer_CreateWindow(void* param) { // #14560
void constParameterPointer_SetupDiGetDeviceInstanceId(HDEVINFO info, SP_DEVINFO_DATA *data) {
const DWORD buffer_size = 256;
- char buffer[buffer_size];
+ TCHAR buffer[buffer_size];
SetupDiGetDeviceInstanceId(info, data, buffer, buffer_size, NULL);
}