RtecatIsComponentLicensed

RtecatIsComponentLicensed checks if the E-CAT component license is available on the system.

Note: The MaxRT wRTOS E-CAT component requires the MaxRT wRTOS Fieldbus license (WFBS64). Contact IntervalZero Sales to purchase the license.

Syntax

Copy
BOOL RtecatIsComponentLicensed(
  [out]   BOOL* pLicensed
);

Parameters

[out] pLicensed

A pointer for the license status to be written.

Return Values

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 codes Meaning

ERROR_INVALID_PARAMETER

Parameter pLicensed is NULL.

Requirements

Minimum supported version Header Library

wRTOS 1.0 SDK

RtecatComponent.h

RtecatApi_W64.lib (Windows), RtecatApi.lib (RTSS)

See Also: