RtfwRestartRequired
RtfwRestartRequired returns whether the wRTOS Subsystem or Windows needs to be restarted after a configuration change has been made using the wRTOS Configuration and Control (RTFW) library or wRTOS Settings.
Syntax
bool RtfwRestartRequired(
[in] RTFW_RESTART_TYPE * pRestartRequired,
[in] unsigned int reserved
);
Parameters
[in] pRestartRequired
A pointer to a value that is set to one of the RTFW_RESTART_TYPE enumerators indicating whether the wRTOS Subsystem or Windows must be restarted.
[in] reserved
This parameter must be set to zero.
Return Value
If the function succeeds, it returns TRUE. If the function fails, it returns FALSE, sets the last error value, and leaves the memory pointed to by pRestartRequired undefined. Call GetLastError to obtain an error code.
Requirements
| Minimum supported version | Header | Library |
|---|---|---|
|
wRTOS 1.0 SDK |
RtfwApi.h |
RtfwApi.lib |
See Also: