EXCEPTION_DISPOSITION UnhandledExceptionFilter(ExceptionInfo) | |||
struct _EXCEPTION_POINTERS *ExceptionInfo; |
Win32 provides a default unhandled exception filter that is used around the start of each thread and process. This filter is responsible for passing unhandled exceptions on to the application's debugger. If the application is not being debugged, an Application Error message box is optionally displayed.
ExceptionInfo
Supplies the exception information at the time of an exception. This is typically the return value of a call to GetExceptionInformation.
Return Value | Value | Meaning |
EXCEPTION_CONTINUE_SEARCH | The process is being debugged, so this exception should be passed (as second chance) to the applications debugger. | |
EXCEPTION_EXECUTE_HANDLER | If the SEM_NOGPFAULTERRORBOX flag was specified in a previous call to SetErrorMode, no Application Error message box is displayed. The function returns control to the exception handler which is free to take any appropriate action. |
Win32 system code uses this function internally around the start of each thread in a process. If the return value is EXCEPTION_EXECUTE_HANDLER, the process is terminated.