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
7c930a37
Commit
7c930a37
authored
Nov 12, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mmsystem: Use PeekMessageW instead of UserYield.
parent
9a43c410
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
mci16.c
dlls/mmsystem.dll16/mci16.c
+2
-1
mmsystem.c
dlls/mmsystem.dll16/mmsystem.c
+2
-1
No files found.
dlls/mmsystem.dll16/mci16.c
View file @
7c930a37
...
@@ -482,7 +482,8 @@ static UINT MCI_Yield1632(DWORD pfn16, MCIDEVICEID id, DWORD yield_data)
...
@@ -482,7 +482,8 @@ static UINT MCI_Yield1632(DWORD pfn16, MCIDEVICEID id, DWORD yield_data)
if
(
!
pfn16
)
if
(
!
pfn16
)
{
{
UserYield16
();
MSG
msg
;
PeekMessageW
(
&
msg
,
0
,
0
,
0
,
PM_REMOVE
|
PM_QS_SENDMESSAGE
);
return
0
;
return
0
;
}
}
...
...
dlls/mmsystem.dll16/mmsystem.c
View file @
7c930a37
...
@@ -2059,7 +2059,8 @@ LRESULT WINAPI mmThreadCreate16(FARPROC16 fpThreadAddr, LPHANDLE16 lpHndl, DWORD
...
@@ -2059,7 +2059,8 @@ LRESULT WINAPI mmThreadCreate16(FARPROC16 fpThreadAddr, LPHANDLE16 lpHndl, DWORD
WARN
(
"Couldn't resume thread
\n
"
);
WARN
(
"Couldn't resume thread
\n
"
);
while
(
lpMMThd
->
dwStatus
!=
0x10
)
{
/* test also HIWORD of dwStatus */
while
(
lpMMThd
->
dwStatus
!=
0x10
)
{
/* test also HIWORD of dwStatus */
UserYield16
();
MSG
msg
;
PeekMessageW
(
&
msg
,
0
,
0
,
0
,
PM_REMOVE
|
PM_QS_SENDMESSAGE
);
}
}
}
}
}
}
...
...
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