[msports] Notify the system of changes to the serial port settings.
authorEric Kohl <eric.kohl@reactos.org>
Fri, 28 Sep 2018 23:57:59 +0000 (01:57 +0200)
committerEric Kohl <eric.kohl@reactos.org>
Fri, 28 Sep 2018 23:57:59 +0000 (01:57 +0200)
dll/win32/msports/serial.c

index b248072..768fedf 100644 (file)
@@ -323,6 +323,12 @@ WritePortSettings(
         return;
     }
 
+    /* Notify the system */
+    PostMessageW(HWND_BROADCAST,
+                 WM_WININICHANGE,
+                 0,
+                 (LPARAM)pPortData->szPortName);
+
     TRACE("Done!\n");
 }