INtime SDK Help
ntxGetINtimeVersion
INtime SDK v6 > About INtime > INtime Kernel > System management calls > ntxGetINtimeVersion

Extracts INtime version and release information, if it exists, as strings, and returns them in the parameters productVersion, and updateVersion.

LONG ntxGetINtimeVersion(
    LPSTR productVersion, 
    UINT versionSize, 
    LPSTR updateVersion, 
    UINT updateSize
);
        
LONG NTXAPI
ntxGetINtimeVersionW(
    LPWSTR productVersion, 
    UINT versionSize, 
    LPWSTR updateVersion, 
    UINT updateSize
);

Parameters

productVersion
A pointer to the string for returning the Product Version information.
versionSize
The number of characters the productVersion string can accept.
updateVersion
A pointer to the string for returning the Update Version information.
updateSize
The number of characters the updateVersion string can accept.

Remarks

There is limited UNICODE support for some NTX calls. By defining the macro _UNICODE_NTX_MINI_ the standard calls are mapped to their wide-character equivalents.

Return Values

ERROR_SUCCESS
Success.
productVersion
This string represents the major release number, the minor release and update number, a build date and a 4th number which is unused. For example, "3.12.8213.1" would represent release release 3.12, an encoded build date, and the number 1, which is unused.
updateVersion
This string represents a non-update, subsequent special release version, e.g., something like "Update 3"
Any non-zero error value defined in WINERROR.H
Failure.
For extended error information, see Windows CE system call GetLastError() defined in Winbase.h

Requirements

Versions Defined in Include Link to
INtime 3.04 intime/nt/include/ntx.h ntx.h intime/rt/lib/ntx.lib
INtime 4.01 (for 64-bit Windows) intime/nt/include/ntx.h ntx.h intime/rt/lib/ntx64.lib
See Also

System & Status