rpcrt4: Implement I_RpcExceptionFilter.

This commit is contained in:
Rob Shearman 2008-04-11 10:59:34 +01:00 committed by Alexandre Julliard
parent 29565d558f
commit 9a2914b11f
2 changed files with 17 additions and 1 deletions

View File

@ -42,7 +42,7 @@
@ stub I_RpcConnectionSetSockBuffSize @ stub I_RpcConnectionSetSockBuffSize
@ stub I_RpcDeleteMutex @ stub I_RpcDeleteMutex
@ stub I_RpcEnableWmiTrace # wxp @ stub I_RpcEnableWmiTrace # wxp
@ stub I_RpcExceptionFilter # wxp @ stdcall I_RpcExceptionFilter(long)
@ stdcall I_RpcFree(ptr) @ stdcall I_RpcFree(ptr)
@ stdcall I_RpcFreeBuffer(ptr) @ stdcall I_RpcFreeBuffer(ptr)
@ stub I_RpcFreePipeBuffer @ stub I_RpcFreePipeBuffer

View File

@ -936,6 +936,22 @@ LONG WINAPI I_RpcMapWin32Status(RPC_STATUS status)
} }
} }
/******************************************************************************
* I_RpcExceptionFilter (rpcrt4.@)
*/
int WINAPI I_RpcExceptionFilter(ULONG ExceptionCode)
{
TRACE("0x%x\n", ExceptionCode);
switch (ExceptionCode)
{
case EXCEPTION_ACCESS_VIOLATION:
case EXCEPTION_ILLEGAL_INSTRUCTION:
return EXCEPTION_CONTINUE_SEARCH;
default:
return EXCEPTION_EXECUTE_HANDLER;
}
}
/****************************************************************************** /******************************************************************************
* RpcErrorStartEnumeration (rpcrt4.@) * RpcErrorStartEnumeration (rpcrt4.@)
*/ */