diff --git a/dlls/msi/dialog.c b/dlls/msi/dialog.c index 7074a7be67d..8b10215f2f2 100644 --- a/dlls/msi/dialog.c +++ b/dlls/msi/dialog.c @@ -3787,7 +3787,7 @@ void msi_dialog_check_messages( HANDLE handle ) if( uiThreadId != GetCurrentThreadId() ) { if( handle ) - WaitForSingleObject( handle, INFINITE ); + MsgWaitForMultipleObjectsEx( 1, &handle, INFINITE, 0, 0 ); return; }