Commit 62c49bdd authored by Rob Shearman's avatar Rob Shearman Committed by Alexandre Julliard

rpcrt4: When an exception is raised, return the stored exception code instead of…

rpcrt4: When an exception is raised, return the stored exception code instead of the generic RPC_S_CALL_FAILED.
parent 2de3d31a
......@@ -925,7 +925,7 @@ RPC_STATUS WINAPI I_RpcSend(PRPC_MESSAGE pMsg)
if (bind->server) {
if (pMsg->RpcFlags & WINE_RPCFLAG_EXCEPTION) {
hdr = RPCRT4_BuildFaultHeader(pMsg->DataRepresentation,
RPC_S_CALL_FAILED);
*(DWORD *)pMsg->Buffer);
} else {
hdr = RPCRT4_BuildResponseHeader(pMsg->DataRepresentation,
pMsg->BufferLength);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment