Platform SDK: Debugging and Error Handling

Structured Exception Handling Functions

The following functions are used in structured exception handling.

Function Description
AbnormalTermination Indicates whether the __try block of a termination handler terminated normally.
GetExceptionCode Retrieves a code that identifies the type of exception that occurred.
GetExceptionInformation Retrieves a machine-independent description of an exception, and information about the machine state that existed for the thread when the exception occurred.
RaiseException Raises an exception in the calling thread.
SetUnhandledExceptionFilter Enables an application to supersede the top-level exception handler of each thread and process.
UnhandledExceptionFilter Passes unhandled exceptions to the debugger, if the process is being debugged.