RtIsInRtss

RtIsInRtss provides the ability to determine whether code is running in RTSS or Windows.

Syntax

Copy
BOOL RtIsInRtss(VOID);

Parameters

This function has no parameters.

Return Value

If the calling process is running in the RTSS environment, it returns TRUE. Otherwise, it returns FALSE.

Remarks

A program should call this program if it must determine its run-time environment. The call returns FALSE when called from Win32.

Requirements

Minimum supported version Header Library

wRTOS 1.0 SDK

RtApi.h

RtApi.lib (Windows), Startup.lib (RTSS)