|
RtkIsAppRunnable is the RTKAPI equivalent of RtIsAppRunable. It 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
BOOLEAN RtkIsAppRunnable( RTSSINST RtssInst, PULONG pErrorCode PUNICODE_STRING pApplicationPath, PUNICODE_STRING pFeatureName );
Parameters
RtssInst
An RTSSINST value returned from a call to RtkRtssAttach.
pErrorCode
A pointer to a location where additional error information may be returned. This location need not be defined; the user may pass a NULL value. If defined, this location is set to NULL if no error occurred. See Error Codes for information on the custom RTX error codes.
pApplicationPath
The absolute path name of an RTSS application. Within an RTSS application this parameter cannot be NULL.
pFeatureName
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) |
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.
Requirements
Minimum Supported Version | RTX 2016 |
Header | Rtkapi.h |
Library | rtx_rtk.lib |