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
67942791
Commit
67942791
authored
Dec 14, 2004
by
Robert Shearman
Committed by
Alexandre Julliard
Dec 14, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implement RPC_E_DISCONNECTED in proxies.
parent
fa5c73f1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
0 deletions
+14
-0
tmarshal.c
dlls/oleaut32/tmarshal.c
+7
-0
ndr_midl.c
dlls/rpcrt4/ndr_midl.c
+7
-0
No files found.
dlls/oleaut32/tmarshal.c
View file @
67942791
...
...
@@ -1185,6 +1185,13 @@ xCall(LPVOID retptr, int method, TMProxyImpl *tpinfo /*, args */)
return
E_FAIL
;
}
if
(
!
tpinfo
->
chanbuf
)
{
WARN
(
"Tried to use disconnected proxy
\n
"
);
LeaveCriticalSection
(
&
tpinfo
->
crit
);
return
RPC_E_DISCONNECTED
;
}
if
(
relaydeb
)
{
TRACE_
(
olerelay
)(
"->"
);
if
(
iname
)
...
...
dlls/rpcrt4/ndr_midl.c
View file @
67942791
...
...
@@ -100,6 +100,13 @@ void WINAPI NdrProxySendReceive(void *This,
HRESULT
hr
;
TRACE
(
"(%p,%p)
\n
"
,
This
,
pStubMsg
);
if
(
!
pStubMsg
->
pRpcChannelBuffer
)
{
WARN
(
"Trying to use disconnected proxy %p
\n
"
,
This
);
RpcRaiseException
(
RPC_E_DISCONNECTED
);
}
pStubMsg
->
dwStubPhase
=
PROXY_SENDRECEIVE
;
hr
=
IRpcChannelBuffer_SendReceive
(
pStubMsg
->
pRpcChannelBuffer
,
(
RPCOLEMESSAGE
*
)
pStubMsg
->
RpcMsg
,
...
...
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