RTFW_EXCEPTION_HANDLING Enumeration
RTFW_EXCEPTION_HANDLING represents the possible exception handling behaviors in the wRTOS Subsystem.
Syntax
typedef enum _RTFW_EXCEPTION_HANDLING(
RTEH_SEH_TERMINATE_PROCESS,
RTEH_SEH_FREEZE_PROCESS = 0,
RTEH_NO_SEH_FREEZE_PROCESS,
RTEH_NO_SEH_TERMINATE_PROCESS,
RTEH_NO_SEH_HALT_SYSTEM,
RTEH_MAX,
} RTFW_EXCEPTION_HANDLING, * PRTFW_EXCEPTION_HANDLING;
Constants
RTEH_SEH_FREEZE_PROCESS
A real-time application is first allowed to handle an exception with Structured Exception Handling (SEH). If the application does not handle the exception, the process is frozen.
RTEH_SEH_TERMINATE_PROCESS
A real-time application is first allowed to handle an exception with Structured Exception Handling (SEH). If the application does not handle the exception, the process is terminated. This is the default exception handling configuration.
RTEH_NO_SEH_FREEZE_PROCESS
An exception in a real-time process immediately freezes the process without allowing the application to handle the exception via Structured Exception Handling (SEH).
RTEH_NO_SEH_TERMINATE_PROCESS
An exception in a real-time process immediately terminates the process without allowing the application to handle the exception via Structured Exception Handling (SEH).
RTEH_NO_SEH_HALT_SYSTEM
An exception in a real-time process immediately halts Windows and wRTOS and dumps memory without giving the application an opportunity to handle the exception via Structured Exception Handling (SEH).
Requirements
| Minimum supported version | Header | Library |
|---|---|---|
|
wRTOS 1.0 SDK |
RtfwApi.h |
RtfwApi.lib |
See Also: