RttcpipGetComponentStatus

RttcpipGetComponentStatus returns the status of the TCP/IP Stack component.

Syntax

Copy
BOOL RttcpipGetComponentStatus( 
  [out]     PRT_COMPONENT_STATUS Status 
);  

Parameters

[out] Status

A PRT_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)

See Also: