Rtfwnl2IsComponentLicensed

Rtfwnl2IsComponentLicensed returns whether the Network Link Layer (NL2) component has a valid license of the same major version as the currently installed wRTOS Runtime.

Syntax

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

Parameters

[out] pIsLicensed

The license status of the NL2 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 NL2 component does not have a valid license.

Requirements

Minimum supported version Header Library

wRTOS 1.0 SDK

Rtnl2Component.h

Rtfwnl2Api.lib (Windows), Rtnl2Api.lib (RTSS)

See Also: