Chapter 25. Unhandled Exceptions, Vectored Exception Handling, and C++ Exceptions

In the previous chapter, we discussed what happens when a filter returns EXCEPTION_CONTINUE_SEARCH. Returning this value tells the system to continue walking up the call tree looking for additional exception filters. But what happens if every filter returns EXCEPTION_CONTINUE_SEARCH? In this case, we have what’s called an unhandled exception.

Microsoft Windows offers the SetUnhandledExceptionFilter function, which gives you a last chance to process ...

Get Windows® via C/C++, Fifth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.