RtGetRuntimeVersionEx

The function RtGetRuntimeVersionEx retrieves the Runtime version of the installed wRTOS product.

Syntax

Copy
BOOL RtGetRuntimeVersionEx(
    [out]   PRT_VERSION_INFO versionInfo
);

Parameters

[out] versionInfo

A pointer to the RT_VERSION_INFO structure that is filled in by the API. This must be allocated by the caller or the API returns ERROR_INVALID_PARAMETER.

Return Value

If the function succeeds, it returns TRUE. If the function fails, it returns FALSE.

Remarks

This function does not return the patch version or build number for most wRTOS patch updates.

Requirements

Minimum supported version Header Library

wRTOS 1.0 SDK

RtApi.h

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