[WINSPOOL] QS_SENDMESSAGE|QS_ALLEVENTS == QS_ALLINPUT, so use the latter instead.
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Fri, 19 Nov 2021 20:13:26 +0000 (21:13 +0100)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Fri, 19 Nov 2021 20:13:26 +0000 (21:13 +0100)
win32ss/printing/base/winspool/ports.c

index 2dd2755..5f8353c 100644 (file)
@@ -77,7 +77,7 @@ StartPortThread( LPWSTR pName, HWND hWnd, LPWSTR pPortName, PPfpFunction fpFunct
 
     CloseHandle( htHandle );
 
-    while ( MsgWaitForMultipleObjects( 1, &PortThreadInfo.hEvent, FALSE, INFINITE, QS_SENDMESSAGE|QS_ALLEVENTS ) == 1 )
+    while ( MsgWaitForMultipleObjects( 1, &PortThreadInfo.hEvent, FALSE, INFINITE, QS_ALLINPUT ) == 1 )
     {
         while ( PeekMessageW( &Msg, NULL, 0, 0, PM_REMOVE ) )
         {