mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 04:39:45 +00:00
rpcrt4: When an exception is raised, return the stored exception code instead of the generic RPC_S_CALL_FAILED.
This commit is contained in:
parent
2de3d31a7a
commit
62c49bdd18
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user