RtrlyIsComponentLicensed

RtrlyIsComponentLicensed returns whether the Network Relay component has a valid license of the same major version as the currently installed wRTOS Runtime.

Syntax

Copy
BOOL RtrlyIsComponentLicensed(
    [out]   BOOL * pIsLicensed
);  

Parameters

[out] pIsLicensed

The license status of the Network Relay component.

Return Value

If the function succeeds, it returns TRUE and parameter pIsLicensed indicates whether the component is licensed. Otherwise, it returns FALSE. Call GetLastError to obtain an error code.

Possible error codes:

Error code Meaning

RT_ERROR_NO_LICENSE

The Network Relay component does not have a valid license.

Requirements

Minimum supported version Header Library

wRTOS 1.0 SDK

RtrlyComponent.h

RtfwrlyApi.lib

See Also: