RtfwtcpipIsComponentLicensed
RtfwtcpipIsComponentLicensed returns whether the TCP/IP Stack component has a valid license of the same major version as the currently installed wRTOS Runtime.
Syntax
BOOL RtfwtcpipIsComponentLicensed(
[out] BOOL * pIsLicensed
);
Parameters
[out] pIsLicensed
The license status of the TCP/IP Stack component.
Return Value
If the function succeeds, it returns TRUE. Otherwise, it returns FALSE. Call GetLastError to obtain an error code if the function fails.
Possible error codes:
| Error code | Meaning |
|---|---|
|
RT_ERROR_NO_LICENSE |
The TCP/IP Stack component is not licensed. |
Requirements
| Minimum supported version | Header | Library |
|---|---|---|
|
wRTOS 1.0 SDK |
RttcpipComponent.h |
RtfwtcpipApi.lib (Windows), RttcpipApi.lib (RTSS) |
See Also:
- RtfwtcpipGetComponentStatus
- RtfwtcpipStartComponent
- RtfwtcpipStopComponent