|
RtIsAppRunnable returns whether the provided RTSS application binary can run. This means it has been built to run with the provided license feature and that there is a valid license for the feature on the system.
Syntax
BOOL RtIsAppRunnable( LPCTSTR lpApplicationName, LPCTSTR lpFeatureName DWORD Reserved );
Parameters
lpApplicationName
The absolute pathname of an RTSS application.
lpFeatureName
A string specifying a product feature code. The table below lists the common product codes for RTX:
Product Code | Description |
---|---|
IZRTX | RTX Subsystem |
IZTCP | RT-TCP/IP Stack |
IZSDK | Software Development Kit (SDK) |
Reserved
Ignored.
Return Values
Returns TRUE if the given feature has a valid license and the application can run with the given product feature code. Otherwise it returns FALSE. Call GetLastError to obtain an error code.
Requirements
Minimum Supported Version | RTX 2016 |
Header | Rtapi.h |
Library | Rtx_Rtss.lib, rtapi_w32.lib |