Calls and removes exception handlers from a thread's chain of exception handlers.
#define INCL_DOSEXCEPTIONS #include <os2.h> PEXCEPTIONREGISTRATIONRECORD phandler; /* A pointer to the exception registration record that describes the exception handler to be unregistered. */ PVOID pTargetIP; /* A pointer to where DosUnwindException branches after calling all applicable handlers. */ PEXCEPTIONREPORTRECORD pERepRec; /* An optional pointer to an exception record. */ APIRET ulrc; /* Return Code. */ ulrc = DosUnwindException(phandler, pTargetIP, pERepRec);