SmsAPIVer

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.
);
 

Parameters

ppVersion
Specifies a pointer to a pointer that references the version string. Your application must not modify or delete this pointer; it is a static buffer inside the SMS API engine.

Return Values

The SmsAPIVer function returns a status code SMS_STATUS. The function always returns a status of SMS_OK.

Example

// Get version and print it.
char *pszVersion;
SmsAPIVer( &pszVersion );
printf("%s\n", pszVersion);