Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions cfg/windows.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3504,7 +3504,7 @@ HFONT CreateFont(
<arg nr="10">
<not-uninit/>
</arg>
<arg nr="11" direction="in">
<arg nr="11">
<not-uninit/>
</arg>
</function>
Expand Down Expand Up @@ -3559,7 +3559,7 @@ HFONT CreateFont(
<arg nr="11">
<not-uninit/>
</arg>
<arg nr="12" direction="in">
<arg nr="12">
<not-uninit/>
</arg>
</function>
Expand Down Expand Up @@ -4120,7 +4120,7 @@ HFONT CreateFont(
<arg nr="1" direction="in">
<not-uninit/>
</arg>
<arg nr="2" direction="in">
<arg nr="2">
<not-uninit/>
</arg>
<arg nr="3" direction="out"/>
Expand Down
11 changes: 11 additions & 0 deletions test/cfg/windows.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

#include <Windows.h>
#include <WinCon.h>
#include <SetupAPI.h>
#include <cstdio>
#include <direct.h>
#include <evntrace.h>
Expand Down Expand Up @@ -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);
}
Loading