RTFW_EXCEPTION_HANDLING Enumeration

RTFW_EXCEPTION_HANDLING represents the possible exception handling behaviors in the RTX64 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 given an opportunity to handle an exception with Structured Exception Handling (SEH). If the exception is not handled by the application, the process is frozen.

RTEH_SEH_TERMINATE_PROCESS

A real-time application is first given an opportunity to handle an exception with Structured Exception Handling (SEH). If the exception is not handled by the application, 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 giving the application an opportunity to handle the exception via Structured Exception Handling.

RTEH_NO_SEH_TERMINATE_PROCESS

An exception in a real-time process immediately terminates the process, without giving the application an opportunity to handle the exception via Structured Exception Handling.

RTEH_NO_SEH_HALT_SYSTEM

An exception in a real-time process immediately halts Windows and RTX64 and dumps memory, without giving the application an opportunity to handle the exception via Structured Exception Handling.

Requirements

Minimum Required Version RTX64 3.4
Header RtfwAPI.h
Library RtfwAPI.lib

See Also:

Configuring Exception Support

RtfwGetExceptionHandling

RtfwSetExceptionHandling