EXCEPTION_POINTERS (Compact 2013)

3/28/2014

This structure contains the following:

  • An exception record with a machine-independent description of an exception.
  • A context record with a machine-dependent description of the processor context at the time of the exception.

Syntax

typedef struct _EXCEPTION_POINTERS {
  PEXCEPTION_RECORD ExceptionRecord;
  PCONTEXT ContextRecord;
} EXCEPTION_POINTERS;

Members

  • ExceptionRecord
    Pointer to an EXCEPTION_RECORD structure that contains a machine-independent description of the exception.
  • ContextRecord
    Pointer to a CONTEXT structure that contains a processor-specific description of the state of the processor at the time of the exception.

Remarks

Vectored exception handlers are not frame-based handlers. Therefore, you can add a handler and ensure that it gets called regardless of where you are in a call frame. The handlers are called in the order that they were added, after the debugger gets a first chance notification, but before frame-based dispatching occurs.

Requirements

Header

excpt.h

See Also

Reference

Exception Structures
GetExceptionInformation
CONTEXT
EXCEPTION_RECORD
VectoredHandler