C++ SDK

◆ GetSdkVersion()

static int CApplicationAPI::GetSdkVersion ( LpError  lpError,
LPTSTR  lpszSdkVersion,
LPTSTR  lpszBuiltNumber,
DWORD  dwMaxTime = DEFAULT_MAX_TIME 
)
static

Gets the SDK's version and its build number.

Parameters
lpErrorAdditional error information returned from Drive.
lpszSdkVersionSDK's version.
lpszBuildNumberSDK's build number.
dwMaxTimeMaximum time (in milliseconds) function can take. If dwMaxTime=0, function execution is not time limited.
Returns
1 if successful, or else other values.

Possible error codes returned from Drive are:

  • 0 - Function has not succeeded.
  • 1 - Function has succeeded.
  • 2 - Drive has not succeeded.
  • 3 - Function has reached timeout.