RtcplGetProductInfo

The function RtcplGetProductInfo retrieves the RTX product type and version.

Syntax

BOOL RtcplGetProductInfo(
    DWORD majorVersion,
    DWORD minorVersion,
    PDWORD pReturnedProductType
);

Parameters

majorVersion

The major version number of the product version.

minorVersion

The minor version number of the product version.

pReturnedProductType

The product edition. The edition defines are defined in RtxProp.h. Edition defines are as follows:

RTX 2016 Editions

Value

Description

PRODUCT_RT_SOLO

Indicates one shared or dedicated RTSS processor in a uniprocessor or multicore/multiprocessor environment.

PRODUCT_RT_ENTRY

Indicates one shared or up to two dedicated RTSS processors in a multicore/multiprocessor environment.

PRODUCT_RT_BASIC

Indicates one shared or up to three dedicated RTSS processors in a multicore/multiprocessor environment.

PRODUCT_RT_PROFESSIONAL

Indicates one shared or up to seven dedicated RTSS processors in a multicore/multiprocessor environment.

PRODUCT_RT_PREMIUM

Indicates one shared or up to 15 dedicated RTSS processors in a multicore/multiprocessor environment.

PRODUCT_RT_ULTIMATE

Indicates one shared or up to 31 dedicated RTSS processors in a multicore/multiprocessor environment.

PRODUCT_UNLICENSED Indicates an unexpected license.

Previous to RTX 2016 Editions

Value

Description

PRODUCT_NO_EDITION

Editions were not supported in versions previous to RTX 2016

Return Values

A value of TRUE if the function succeeds, otherwise FALSE.

The function fails with a GetLastError of ERROR_INVALID_PARAMETER if pReturnedProductType is NULL.

Requirements

Header RtxProp.h, RtxVersion.h
Library RtxProp.lib
IntervalZero.com | Support | Give Feedback