Return the correct error code from NdrProxyErrorHandler.

This commit is contained in:
Robert Shearman 2005-11-29 10:41:45 +01:00 committed by Alexandre Julliard
parent bb90b3e3cc
commit 96a8f8edda

View file

@ -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);
}
/***********************************************************************