RtfwtcpipGetComponentStatus
RtfwtcpipGetComponentStatusreturns the status of the TCP/IP Stack component.
Syntax
BOOL RtfwtcpipGetComponentStatus(
[out] RT_COMPONENT_STATUS * Status
);
Parameters
[out] Status
A pointer to an 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_TCPIP_STATUS |
An internal error occurred. |
Requirements
| Minimum supported version | Header | Library |
|---|---|---|
|
wRTOS 1.0 SDK |
RttcpipComponent.h |
RtfwtcpipApi.lib (Windows), RttcpipApi.lib (RTSS) |