hook SetUnhandledExceptionFilter for debug build
This commit is contained in:
parent
f352aedc59
commit
087f41ce11
7 changed files with 39 additions and 5 deletions
|
@ -1076,3 +1076,13 @@ HRESULT WINAPI fake_CoCreateInstance(REFCLSID rclsid, LPUNKNOWN pUnkOuter, DWORD
|
|||
|
||||
return real_CoCreateInstance(rclsid, pUnkOuter, dwClsContext, riid, ppv);
|
||||
}
|
||||
|
||||
LPTOP_LEVEL_EXCEPTION_FILTER WINAPI fake_SetUnhandledExceptionFilter(
|
||||
LPTOP_LEVEL_EXCEPTION_FILTER lpTopLevelExceptionFilter)
|
||||
{
|
||||
LPTOP_LEVEL_EXCEPTION_FILTER old = g_dbg_exception_filter;
|
||||
g_dbg_exception_filter = lpTopLevelExceptionFilter;
|
||||
|
||||
return old;
|
||||
//return real_SetUnhandledExceptionFilter(lpTopLevelExceptionFilter);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue