RtfwSetExceptionHandling
RtfwSetExceptionHandling sets the exception handling behavior of the wRTOS Subsystem.
Syntax
bool RtfwSetExceptionHandling(
[in] RTFW_EXCEPTION_HANDLING exceptionHandling
);
Parameters
[in] exceptionHandling
Specifies an RTFW_EXCEPTION_HANDLING value that identifies the exception handling behavior to use for the Subsystem.
Return Value
If the function succeeds, it returns TRUE. If the function fails, it returns FALSE. Call GetLastError to obtain an error code.
Possible error codes:
| Error code | Meaning |
|---|---|
|
ERROR_INVALID_PARAMETER |
Parameter exceptionHandling is not a valid enumerator value. |
|
RT_ERROR_RESTART_SUBSYSTEM |
The Subsystem was running when this function succeeded. RtfwRestartRequired will report that the wRTOS Subsystem must be restarted. Note: The wRTOS Subsystem must be restarted for the change to take effect. |
Requirements
| Minimum supported version | Header | Library |
|---|---|---|
|
wRTOS 1.0 SDK |
RtfwApi.h |
RtfwApi.lib |
See Also: