Raises an exception for the current thread.

#define INCL_DOSEXCEPTIONS
#include <os2.h>

PEXCEPTIONREPORTRECORD    pexcept;  /*  A pointer to an exception report record that contains exception-specific information needed for the exception to be raised. */
APIRET                    ulrc;     /*  Return Code. */

ulrc = DosRaiseException(pexcept);


[Back] [Next]