You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
413 B
9 lines
413 B
// Pointer mark should be formatted (WINAPI* SetXX)
|
|
typedef DWORD (WINAPI* SetDllDirectory)(LPCSTR);
|
|
// Pointer mark should be formatted (EXCEPTION_POINTERS* pExt)
|
|
static LONG WINAPI CustomUnhandledExceptionFilter(EXCEPTION_POINTERS* pExInfo)
|
|
{
|
|
if (EXCEPTION_BREAKPOINT == pExInfo->ExceptionRecord->ExceptionCode) // Breakpoint. Don't treat this as a normal crash.
|
|
return EXCEPTION_CONTINUE_SEARCH;
|
|
}
|