RtfwGetExceptionHandling

RtfwGetExceptionHandling returns the current exception handling configuration of the wRTOS Subsystem.

Syntax

Copy
bool RtfwGetExceptionHandling(
    [out]   RTFW_EXCEPTION_HANDLING * pExceptionHandling
);

Parameters

[out] pExceptionHandling

A pointer to a value that is filled in with an RTFW_EXCEPTION_HANDLING value representing the current exception handling configuration.

Return Value

If the function succeeds, it returns TRUE. If the function fails, it returns FALSE, sets the last error value, and the value pointed to by pExceptionHandling is invalid. Call GetLastError to obtain an error code.

Remarks

If the Subsystem is running when the RtfwSetExceptionHandling API is called, the values returned by this function may differ from the values currently in use by the Subsystem.

If the Subsystem is running when the RtfwGetLocalMemoryConfiguration API is called, the values returned by this function may differ from the values currently in use by the Subsystem.

Requirements

Minimum supported version Header Library

wRTOS 1.0 SDK

RtfwApi.h

RtfwApi.lib

See Also: