The SmsAPIVer function returns a version string that identifies the version of the SMS API that is currently in use.
SMS_STATUS SmsAPIVer(
char **ppVersion // Pointer to pointer to a string that contains
// the version.
);
The SmsAPIVer function returns a status code SMS_STATUS. The function always returns a status of SMS_OK.
// Get version and print it.
char *pszVersion;
SmsAPIVer( &pszVersion );
printf("%s\n", pszVersion);