INtime SDK Help
GetINtimeProductVersion

Returns a string containing the INtime product version.

DWORD GetINtimeProductVersion(
LPSTR buffer,
DWORD buffer_length
);

Parameters

buffer
A pointer to a buffer to receive the version string.
buffer_length
The length of the buffer.

Return Value

On success, the version string is copied to the buffer, and the number of characters copied (excluding the terminating NULL) is returned. If the number of characters to return is larger than the value of the buffer_length parameter then the value returned from the call is the number of characters which would have been copied to the buffer.

On failure zero is returned and the buffer contents are undefined.

Remarks

The product version is the version of the installation package used to install the local version of INtime software.

In INtime for Windows the version is returned from the registry. In INtime Distributed RTOS the version is returned from a text file on the disk.

Requirements

Versions Defined in Include Link to
INtime 6.0 intime/rt/include/rtbase.h rt.h rt.lib
See Also