Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
998af35a
Commit
998af35a
authored
Jun 02, 2015
by
Akihiro Sagawa
Committed by
Alexandre Julliard
Jun 02, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mciqtz32: Watch the player thread while waiting a player task.
parent
d2e9856a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
mciqtz.c
dlls/mciqtz32/mciqtz.c
+7
-1
No files found.
dlls/mciqtz32/mciqtz.c
View file @
998af35a
...
...
@@ -75,6 +75,8 @@ static LRESULT MCIQTZ_relayTaskMessage(DWORD_PTR dwDevID, UINT wMsg,
{
WINE_MCIQTZ
*
wma
;
LRESULT
res
;
HANDLE
handles
[
2
];
DWORD
ret
;
TRACE
(
"(%08lX, %08x, %08x, %08lx)
\n
"
,
dwDevID
,
wMsg
,
dwFlags
,
lpParms
);
wma
=
MCIQTZ_mciGetOpenDev
(
dwDevID
);
...
...
@@ -86,7 +88,11 @@ static LRESULT MCIQTZ_relayTaskMessage(DWORD_PTR dwDevID, UINT wMsg,
wma
->
task
.
flags
=
dwFlags
;
wma
->
task
.
parms
=
lpParms
;
SetEvent
(
wma
->
task
.
notify
);
if
(
WaitForSingleObject
(
wma
->
task
.
done
,
INFINITE
)
==
WAIT_OBJECT_0
)
handles
[
0
]
=
wma
->
task
.
done
;
handles
[
1
]
=
wma
->
task
.
thread
;
ret
=
WaitForMultipleObjects
(
sizeof
(
handles
)
/
sizeof
(
handles
[
0
]),
handles
,
FALSE
,
INFINITE
);
if
(
ret
==
WAIT_OBJECT_0
)
res
=
wma
->
task
.
res
;
else
res
=
MCIERR_INTERNAL
;
...
...
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