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(
-
+
diff --git a/test/cfg/windows.cpp b/test/cfg/windows.cpp
index a07e1b09365..f92c9941d81 100644
--- a/test/cfg/windows.cpp
+++ b/test/cfg/windows.cpp
@@ -11,6 +11,7 @@
#include
#include
+#include
#include
#include
#include
@@ -1223,3 +1224,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;
+ TCHAR buffer[buffer_size];
+ SetupDiGetDeviceInstanceId(info, data, buffer, buffer_size, NULL);
+}