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
610c213f
Commit
610c213f
authored
Feb 13, 2008
by
Rob Shearman
Committed by
Alexandre Julliard
Feb 15, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpcrt4: Add some traces to async_notifier_proc.
Make the test of the return value of wait_for_incoming_data less strict.
parent
89a2eab3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletion
+12
-1
rpc_message.c
dlls/rpcrt4/rpc_message.c
+12
-1
No files found.
dlls/rpcrt4/rpc_message.c
View file @
610c213f
...
...
@@ -1131,31 +1131,42 @@ static DWORD WINAPI async_notifier_proc(LPVOID p)
RpcConnection
*
conn
=
p
;
RPC_ASYNC_STATE
*
state
=
conn
->
async_state
;
if
(
state
&&
!
conn
->
ops
->
wait_for_incoming_data
(
conn
)
)
if
(
state
&&
conn
->
ops
->
wait_for_incoming_data
(
conn
)
!=
-
1
)
{
state
->
Event
=
RpcCallComplete
;
switch
(
state
->
NotificationType
)
{
case
RpcNotificationTypeEvent
:
TRACE
(
"RpcNotificationTypeEvent %p
\n
"
,
state
->
u
.
hEvent
);
SetEvent
(
state
->
u
.
hEvent
);
break
;
case
RpcNotificationTypeApc
:
TRACE
(
"RpcNotificationTypeApc %p
\n
"
,
state
->
u
.
APC
.
hThread
);
QueueUserAPC
(
async_apc_notifier_proc
,
state
->
u
.
APC
.
hThread
,
(
ULONG_PTR
)
state
);
break
;
case
RpcNotificationTypeIoc
:
TRACE
(
"RpcNotificationTypeIoc %p, 0x%x, 0x%lx, %p
\n
"
,
state
->
u
.
IOC
.
hIOPort
,
state
->
u
.
IOC
.
dwNumberOfBytesTransferred
,
state
->
u
.
IOC
.
dwCompletionKey
,
state
->
u
.
IOC
.
lpOverlapped
);
PostQueuedCompletionStatus
(
state
->
u
.
IOC
.
hIOPort
,
state
->
u
.
IOC
.
dwNumberOfBytesTransferred
,
state
->
u
.
IOC
.
dwCompletionKey
,
state
->
u
.
IOC
.
lpOverlapped
);
break
;
case
RpcNotificationTypeHwnd
:
TRACE
(
"RpcNotificationTypeHwnd %p 0x%x
\n
"
,
state
->
u
.
HWND
.
hWnd
,
state
->
u
.
HWND
.
Msg
);
PostMessageW
(
state
->
u
.
HWND
.
hWnd
,
state
->
u
.
HWND
.
Msg
,
0
,
0
);
break
;
case
RpcNotificationTypeCallback
:
TRACE
(
"RpcNotificationTypeCallback %p
\n
"
,
state
->
u
.
NotificationRoutine
);
state
->
u
.
NotificationRoutine
(
state
,
NULL
,
state
->
Event
);
break
;
case
RpcNotificationTypeNone
:
TRACE
(
"RpcNotificationTypeNone
\n
"
);
break
;
default:
FIXME
(
"unknown NotificationType: %d/0x%x
\n
"
,
state
->
NotificationType
,
state
->
NotificationType
);
break
;
}
}
...
...
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