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
41758566
Commit
41758566
authored
May 13, 2014
by
Vincent Povirk
Committed by
Alexandre Julliard
May 20, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
server: Clear the queue's QS_SMRESULT bit when sending a new message.
parent
2c984fc8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
win.c
dlls/user32/tests/win.c
+1
-1
queue.c
server/queue.c
+7
-2
No files found.
dlls/user32/tests/win.c
View file @
41758566
...
@@ -7580,7 +7580,7 @@ static LRESULT WINAPI smresult_wndproc(HWND hwnd, UINT msg, WPARAM wparam, LPARA
...
@@ -7580,7 +7580,7 @@ static LRESULT WINAPI smresult_wndproc(HWND hwnd, UINT msg, WPARAM wparam, LPARA
/* Send another message while we have a reply queued for the current one. */
/* Send another message while we have a reply queued for the current one. */
res
=
SendMessageA
(
data
->
thread_hwnd
,
WM_APP
+
2
,
0
,
lparam
);
res
=
SendMessageA
(
data
->
thread_hwnd
,
WM_APP
+
2
,
0
,
lparam
);
todo_wine
ok
(
res
==
0x449b0190
,
"unexpected result %lx
\n
"
,
res
);
ok
(
res
==
0x449b0190
,
"unexpected result %lx
\n
"
,
res
);
return
0
;
return
0
;
}
}
...
...
server/queue.c
View file @
41758566
...
@@ -681,7 +681,11 @@ static struct message_result *alloc_message_result( struct msg_queue *send_queue
...
@@ -681,7 +681,11 @@ static struct message_result *alloc_message_result( struct msg_queue *send_queue
result
->
callback_msg
=
callback_msg
;
result
->
callback_msg
=
callback_msg
;
list_add_head
(
&
send_queue
->
callback_result
,
&
result
->
sender_entry
);
list_add_head
(
&
send_queue
->
callback_result
,
&
result
->
sender_entry
);
}
}
else
if
(
send_queue
)
list_add_head
(
&
send_queue
->
send_result
,
&
result
->
sender_entry
);
else
if
(
send_queue
)
{
list_add_head
(
&
send_queue
->
send_result
,
&
result
->
sender_entry
);
clear_queue_bits
(
send_queue
,
QS_SMRESULT
);
}
if
(
timeout
!=
TIMEOUT_INFINITE
)
if
(
timeout
!=
TIMEOUT_INFINITE
)
result
->
timeout
=
add_timeout_user
(
timeout
,
result_timeout
,
result
);
result
->
timeout
=
add_timeout_user
(
timeout
,
result_timeout
,
result
);
...
@@ -2502,7 +2506,8 @@ DECL_HANDLER(get_message_reply)
...
@@ -2502,7 +2506,8 @@ DECL_HANDLER(get_message_reply)
else
else
{
{
result
=
LIST_ENTRY
(
entry
,
struct
message_result
,
sender_entry
);
result
=
LIST_ENTRY
(
entry
,
struct
message_result
,
sender_entry
);
if
(
!
result
->
replied
)
clear_queue_bits
(
queue
,
QS_SMRESULT
);
if
(
result
->
replied
)
set_queue_bits
(
queue
,
QS_SMRESULT
);
else
clear_queue_bits
(
queue
,
QS_SMRESULT
);
}
}
}
}
}
}
...
...
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