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
38a247fd
Commit
38a247fd
authored
Nov 05, 2001
by
Guy Albertelli
Committed by
Alexandre Julliard
Nov 05, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move SPY_EnterMessage call after all possible exits so that there will
be a matching SPY_ExitMessage.
parent
887c2b3b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
message.c
dlls/user/message.c
+4
-4
No files found.
dlls/user/message.c
View file @
38a247fd
...
@@ -1518,12 +1518,12 @@ LRESULT WINAPI SendMessageTimeoutW( HWND hwnd, UINT msg, WPARAM wparam, LPARAM l
...
@@ -1518,12 +1518,12 @@ LRESULT WINAPI SendMessageTimeoutW( HWND hwnd, UINT msg, WPARAM wparam, LPARAM l
return
1
;
return
1
;
}
}
SPY_EnterMessage
(
SPY_SENDMESSAGE
,
hwnd
,
msg
,
wparam
,
lparam
);
if
(
!
(
dest_tid
=
GetWindowThreadProcessId
(
hwnd
,
&
dest_pid
)))
return
0
;
if
(
!
(
dest_tid
=
GetWindowThreadProcessId
(
hwnd
,
&
dest_pid
)))
return
0
;
if
(
USER_IsExitingThread
(
dest_tid
))
return
0
;
if
(
USER_IsExitingThread
(
dest_tid
))
return
0
;
SPY_EnterMessage
(
SPY_SENDMESSAGE
,
hwnd
,
msg
,
wparam
,
lparam
);
if
(
dest_tid
==
GetCurrentThreadId
())
if
(
dest_tid
==
GetCurrentThreadId
())
{
{
result
=
call_window_proc
(
hwnd
,
msg
,
wparam
,
lparam
,
TRUE
);
result
=
call_window_proc
(
hwnd
,
msg
,
wparam
,
lparam
,
TRUE
);
...
@@ -1566,12 +1566,12 @@ LRESULT WINAPI SendMessageTimeoutA( HWND hwnd, UINT msg, WPARAM wparam, LPARAM l
...
@@ -1566,12 +1566,12 @@ LRESULT WINAPI SendMessageTimeoutA( HWND hwnd, UINT msg, WPARAM wparam, LPARAM l
return
1
;
return
1
;
}
}
SPY_EnterMessage
(
SPY_SENDMESSAGE
,
hwnd
,
msg
,
wparam
,
lparam
);
if
(
!
(
dest_tid
=
GetWindowThreadProcessId
(
hwnd
,
&
dest_pid
)))
return
0
;
if
(
!
(
dest_tid
=
GetWindowThreadProcessId
(
hwnd
,
&
dest_pid
)))
return
0
;
if
(
USER_IsExitingThread
(
dest_tid
))
return
0
;
if
(
USER_IsExitingThread
(
dest_tid
))
return
0
;
SPY_EnterMessage
(
SPY_SENDMESSAGE
,
hwnd
,
msg
,
wparam
,
lparam
);
if
(
dest_tid
==
GetCurrentThreadId
())
if
(
dest_tid
==
GetCurrentThreadId
())
{
{
result
=
call_window_proc
(
hwnd
,
msg
,
wparam
,
lparam
,
FALSE
);
result
=
call_window_proc
(
hwnd
,
msg
,
wparam
,
lparam
,
FALSE
);
...
...
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