RtfwGetSubsystemStatus
RtfwGetSubsystemStatus returns the current status of the wRTOS Subsystem.
Syntax
bool RtfwGetSubsystemStatus(
[out] RT_COMPONENT_STATUS * pStatus
);
Parameters
[out] pStatus
A pointer to a value that is set to an RT_COMPONENT_STATUS enumerator that is the current status of the Subsystem.
Return Value
If the function succeeds, it returns TRUE. If the function fails, it returns FALSE, sets the last error value, and leaves the value pointed to by pStatus invalid. Call GetLastError to obtain an error code.
Remarks
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: