The GetVersion() API function returns an Unsigned Long value.
The actual version can be retrieved as below-
-> Major version = second least significant byte of the unsigned long-> Minor version = least significant byte of the unsigned long
Please refer to the following file for RuntimeInstall API Documentation-
C:\Program Files (x86)\Gemalto Sentinel\Sentinel LDK\API\RuntimeInstall\run-time_environment_installer_api_en-US.chm
You can also take reference from the source code of C sample to check the complete implementation to get the version details from GetVersion() function's output-
C:\Program Files (x86)\Gemalto Sentinel\Sentinel LDK\Samples\RuntimeInstall\C
Regards,
Ashish
Ashish