The LMX_GetVersion function retrieves the major and minor version number of the LM-X SDK.
Prototype
Code Block | ||
---|---|---|
| ||
int LMX_GetVersion(); |
Return
...
values
This function returns an integer in the format (major)(minor)(minor). For example, a return value of 121 represents version number 1.21.
Example
The following code prints the LM-X version that is currently in use, and does not require initializing LM-X handle.
Code Block | ||
---|---|---|
| ||
#include <lmx.h> #include <stdio.h> int main() { printf("Version: %d", LMX_GetVersion()); return 0; } |