EXCEPTIONREGISTRATIONRECORD Exception; : : Exception.ExceptionHandler = (_ERR *)&GPHandler; /* Set entry point addr */ DosSetExceptionHandler(&Exception); /* Register handler */
This example shows the use of the DosSetExceptionHandler() function.