DosUnwindException 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. */
LONG                            ...;        /*  Optional Parameters. */
APIRET                          ulrc;       /*  Return code. */

ulrc = DosUnwindException(phandler, pTargetIP,
         pERepRec, ...);


[Back: DosUnwindException]
[Next: DosUnwindException Parameter - phandler]