mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
Return the correct error code from NdrProxyErrorHandler.
This commit is contained in:
parent
bb90b3e3cc
commit
96a8f8edda
1 changed files with 6 additions and 2 deletions
|
@ -140,8 +140,12 @@ void WINAPI NdrProxyFreeBuffer(void *This,
|
|||
*/
|
||||
HRESULT WINAPI NdrProxyErrorHandler(DWORD dwExceptionCode)
|
||||
{
|
||||
FIXME("(0x%08lx): semi-stub\n", dwExceptionCode);
|
||||
return MAKE_HRESULT(SEVERITY_ERROR, FACILITY_RPC, RPC_S_CALL_FAILED);
|
||||
WARN("(0x%08lx): a proxy call failed\n", dwExceptionCode);
|
||||
|
||||
if (FAILED(dwExceptionCode))
|
||||
return dwExceptionCode;
|
||||
else
|
||||
return HRESULT_FROM_WIN32(dwExceptionCode);
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
|
|
Loading…
Reference in a new issue