Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
353016f9
Commit
353016f9
authored
Nov 10, 2011
by
Hans Leidekker
Committed by
Alexandre Julliard
Nov 14, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Process messages while waiting for custom actions to complete.
parent
655e16f1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
dialog.c
dlls/msi/dialog.c
+10
-2
No files found.
dlls/msi/dialog.c
View file @
353016f9
...
@@ -3786,8 +3786,16 @@ void msi_dialog_check_messages( HANDLE handle )
...
@@ -3786,8 +3786,16 @@ void msi_dialog_check_messages( HANDLE handle )
/* in threads other than the UI thread, block */
/* in threads other than the UI thread, block */
if
(
uiThreadId
!=
GetCurrentThreadId
()
)
if
(
uiThreadId
!=
GetCurrentThreadId
()
)
{
{
if
(
handle
)
if
(
!
handle
)
return
;
MsgWaitForMultipleObjectsEx
(
1
,
&
handle
,
INFINITE
,
0
,
0
);
while
(
MsgWaitForMultipleObjectsEx
(
1
,
&
handle
,
INFINITE
,
QS_ALLINPUT
,
0
)
==
WAIT_OBJECT_0
+
1
)
{
MSG
msg
;
while
(
PeekMessageW
(
&
msg
,
NULL
,
0
,
0
,
PM_REMOVE
))
{
TranslateMessage
(
&
msg
);
DispatchMessageW
(
&
msg
);
}
}
return
;
return
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment