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
666baea1
Commit
666baea1
authored
Feb 03, 2006
by
Robert Shearman
Committed by
Alexandre Julliard
Feb 03, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpcrt4: Raise exceptions in NdrSendReceive if I_RpcSendReceive failed.
parent
7dcc55f4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
ndr_midl.c
dlls/rpcrt4/ndr_midl.c
+5
-4
No files found.
dlls/rpcrt4/ndr_midl.c
View file @
666baea1
...
...
@@ -269,6 +269,8 @@ void WINAPI NdrFreeBuffer(MIDL_STUB_MESSAGE *pStubMsg)
*/
unsigned
char
*
WINAPI
NdrSendReceive
(
MIDL_STUB_MESSAGE
*
stubmsg
,
unsigned
char
*
buffer
)
{
RPC_STATUS
status
;
TRACE
(
"(stubmsg == ^%p, buffer == ^%p)
\n
"
,
stubmsg
,
buffer
);
/* FIXME: how to handle errors? (raise exception?) */
...
...
@@ -281,10 +283,9 @@ unsigned char *WINAPI NdrSendReceive( MIDL_STUB_MESSAGE *stubmsg, unsigned char
return
NULL
;
}
if
(
I_RpcSendReceive
(
stubmsg
->
RpcMsg
)
!=
RPC_S_OK
)
{
WARN
(
"I_RpcSendReceive did not return success.
\n
"
);
/* FIXME: raise exception? */
}
status
=
I_RpcSendReceive
(
stubmsg
->
RpcMsg
);
if
(
status
!=
RPC_S_OK
)
RpcRaiseException
(
status
);
stubmsg
->
BufferLength
=
stubmsg
->
RpcMsg
->
BufferLength
;
stubmsg
->
BufferStart
=
stubmsg
->
RpcMsg
->
Buffer
;
...
...
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