https://git.reactos.org/?p=reactos.git;a=commitdiff;h=7772f9724172e8f0ab37c…
commit 7772f9724172e8f0ab37c4e75bb6270b2fd8f6f4
Author: James Tabor <james.tabor(a)reactos.org>
AuthorDate: Sat Apr 11 17:58:38 2020 -0500
Commit: James Tabor <james.tabor(a)reactos.org>
CommitDate: Sat Apr 11 17:58:38 2020 -0500
[User32] Return Default Window Procedure for WM_DEVICECHANGE
See CORE-16492.
---
win32ss/user/ntuser/defwnd.c | 3 +++
win32ss/user/user32/windows/defwnd.c | 3 +++
2 files changed, 6 insertions(+)
diff --git a/win32ss/user/ntuser/defwnd.c b/win32ss/user/ntuser/defwnd.c
index 241d1c6e3ed..4bfe24e3d55 100644
--- a/win32ss/user/ntuser/defwnd.c
+++ b/win32ss/user/ntuser/defwnd.c
@@ -547,6 +547,9 @@ IntDefWindowProc(
switch (Msg)
{
+ case WM_DEVICECHANGE:
+ return TRUE;
+
case WM_GETTEXTLENGTH:
{
PWSTR buf;
diff --git a/win32ss/user/user32/windows/defwnd.c b/win32ss/user/user32/windows/defwnd.c
index baa31e7af0a..9171d0f693b 100644
--- a/win32ss/user/user32/windows/defwnd.c
+++ b/win32ss/user/user32/windows/defwnd.c
@@ -328,6 +328,9 @@ User32DefWindowProc(HWND hWnd,
switch (Msg)
{
+ case WM_DEVICECHANGE:
+ return TRUE;
+
case WM_POPUPSYSTEMMENU:
{
/* This is an undocumented message used by the windows taskbar to