Skip to content

Commit 82f1210

Browse files
Update windows.cpp
1 parent 57c6b83 commit 82f1210

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

test/cfg/windows.cpp

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1223,3 +1223,13 @@ void SEH_unusedLabel() { // #13233
12231223
__finally {
12241224
}
12251225
}
1226+
1227+
HWND constParameterPointer_CreateWindow(void* param) { // #14560
1228+
return CreateWindow(L"MessageWnd", NULL, 0, 0, 0, 0, 0, HWND_MESSAGE, NULL, NULL, param);
1229+
}
1230+
1231+
void constParameterPointer_SetupDiGetDeviceInstanceId(HDEVINFO info, SP_DEVINFO_DATA *data) {
1232+
const DWORD buffer_size = 256;
1233+
char buffer[buffer_size];
1234+
SetupDiGetDeviceInstanceId(info, data, buffer, buffer_size, NULL);
1235+
}

0 commit comments

Comments
 (0)