ole32: Revert exception handler change.

The handler does the opposite of normal page fault handlers.
This commit is contained in:
Alexandre Julliard 2005-12-19 17:44:56 +01:00
parent d076748e22
commit dbc14a5cb5
1 changed files with 8 additions and 1 deletions

View File

@ -110,6 +110,13 @@ struct dispatch_params
HRESULT hr; /* hresult (out) */
};
static WINE_EXCEPTION_FILTER(ole_filter)
{
if (GetExceptionCode() == EXCEPTION_ACCESS_VIOLATION)
return EXCEPTION_CONTINUE_SEARCH;
return EXCEPTION_EXECUTE_HANDLER;
}
static HRESULT WINAPI RpcChannelBuffer_QueryInterface(LPRPCCHANNELBUFFER iface, REFIID riid, LPVOID *ppv)
{
*ppv = NULL;
@ -446,7 +453,7 @@ void RPC_ExecuteCall(struct dispatch_params *params)
{
params->hr = IRpcStubBuffer_Invoke(params->stub, params->msg, params->chan);
}
__EXCEPT_PAGE_FAULT
__EXCEPT(ole_filter)
{
params->hr = GetExceptionCode();
}