https://git.reactos.org/?p=reactos.git;a=commitdiff;h=f155de483f53429d7f138…
commit f155de483f53429d7f13802740adf55cde000e85
Author: Eric Kohl <eric.kohl(a)reactos.org>
AuthorDate: Sat Sep 29 01:57:59 2018 +0200
Commit: Eric Kohl <eric.kohl(a)reactos.org>
CommitDate: Sat Sep 29 01:57:59 2018 +0200
[msports] Notify the system of changes to the serial port settings.
---
dll/win32/msports/serial.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/dll/win32/msports/serial.c b/dll/win32/msports/serial.c
index b248072a30..768fedf604 100644
--- a/dll/win32/msports/serial.c
+++ b/dll/win32/msports/serial.c
@@ -323,6 +323,12 @@ WritePortSettings(
return;
}
+ /* Notify the system */
+ PostMessageW(HWND_BROADCAST,
+ WM_WININICHANGE,
+ 0,
+ (LPARAM)pPortData->szPortName);
+
TRACE("Done!\n");
}