Unhanded exception filter Exception information Exception handling status
| 88 | /// <param name="ExceptionInfo">Exception information</param> |
| 89 | /// <returns>Exception handling status</returns> |
| 90 | LONG CALLBACK DumpHandler::UnhandledExceptionFilter( PEXCEPTION_POINTERS ExceptionInfo ) |
| 91 | { |
| 92 | auto& inst = Instance(); |
| 93 | |
| 94 | inst._ExceptionInfo = ExceptionInfo; |
| 95 | inst._FailedThread = GetCurrentThreadId(); |
| 96 | |
| 97 | if (Instance()._hWatchThd == NULL) |
| 98 | ExitProcess( 0x1338 ); |
| 99 | |
| 100 | // Wait for dump generation reasonable amount of time (3 min) |
| 101 | WaitForSingleObject( inst._hWatchThd, 3 * 60 * 1000 ); |
| 102 | |
| 103 | return EXCEPTION_CONTINUE_SEARCH; |
| 104 | } |
| 105 | |
| 106 | /// <summary> |
| 107 | /// Crash watcher |
nothing calls this directly
no outgoing calls
no test coverage detected