Contents - Index


4.2.3.16 Get Version Numbers

HRESULT WINAPI SLS_GetVersion(
                                                        int *pnMajorVersion
                                                        int *pnMinorVersion)

This function returns the current version numbers of the API libraries.

The major version number is returned in the pnMajorVersion variable and the minor version number in the pnMinorVersion variable.

Remarks

SLS_Version used to return the Major and Minor version number, such as MajorVersion=2 and MinorVersion=8. From version 2.8.7, the MinorVersion includes the Build version. For instance, version 2.8.7 will be represented as MajorVersion=2, MinorVersion=87