ole32: Revert exception handler change.
The handler does the opposite of normal page fault handlers.
This commit is contained in:
parent
d076748e22
commit
dbc14a5cb5
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue