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
dd64dd55
Commit
dd64dd55
authored
Nov 12, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Reimplement UserYield using PeekMessageW.
parent
18ddbc1c
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
23 deletions
+10
-23
message.c
dlls/user32/message.c
+0
-22
msg16.c
dlls/user32/msg16.c
+10
-0
user32.spec
dlls/user32/user32.spec
+0
-1
No files found.
dlls/user32/message.c
View file @
dd64dd55
...
...
@@ -3365,28 +3365,6 @@ DWORD WINAPI WaitForInputIdle( HANDLE hProcess, DWORD dwTimeOut )
/***********************************************************************
* UserYield (USER.332)
*/
void
WINAPI
UserYield16
(
void
)
{
DWORD
count
;
/* Handle sent messages */
process_sent_messages
();
/* Yield */
ReleaseThunkLock
(
&
count
);
if
(
count
)
{
RestoreThunkLock
(
count
);
/* Handle sent messages again */
process_sent_messages
();
}
}
/***********************************************************************
* RegisterWindowMessageA (USER32.@)
* RegisterWindowMessage (USER.118)
*/
...
...
dlls/user32/msg16.c
View file @
dd64dd55
...
...
@@ -506,6 +506,16 @@ BOOL16 WINAPI SetMessageQueue16( INT16 size )
/***********************************************************************
* UserYield (USER.332)
*/
void
WINAPI
UserYield16
(
void
)
{
MSG
msg
;
PeekMessageW
(
&
msg
,
0
,
0
,
0
,
PM_REMOVE
|
PM_QS_SENDMESSAGE
);
}
/***********************************************************************
* GetQueueStatus (USER.334)
*/
DWORD
WINAPI
GetQueueStatus16
(
UINT16
flags
)
...
...
dlls/user32/user32.spec
View file @
dd64dd55
...
...
@@ -784,7 +784,6 @@
@ stdcall GetDriverModuleHandle16(long)
@ stdcall OpenDriver16(str str long)
@ stdcall SendDriverMessage16(long long long long)
@ stdcall UserYield16()
################################################################
# Wine dll separation hacks, these will go away, don't use them
...
...
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