Rtfwnl2GetComponentStatus
Rtfwnl2GetComponentStatus returns the status of the Network Link Layer (NL2) component.
Syntax
BOOL Rtnl2_API Rtfwnl2GetComponentStatus(
[out] RT_COMPONENT_STATUS * Status
);
Parameters
[out] Status
A pointer to a RT_COMPONENT_STATUS value.
Return Value
If the function succeeds, it returns TRUE. If the function fails, it returns FALSE. Call GetLastError to obtain an error code if the function fails.
Possible error codes:
| Error code | Meaning |
|---|---|
|
RT_ERROR_TIMEOUT_QUERYING_NL2_STATUS |
An internal error occurred. |
|
RT_ERROR_NO_LICENSE |
The NL2 component is not licensed. |
Requirements
| Minimum supported version | Header | Library |
|---|---|---|
|
wRTOS 1.0 SDK |
Rtnl2Component.h |
Rtfwnl2Api.lib (Windows), Rtnl2Api.lib (RTSS) |