ITcAdsSync::ReadDeviceInfo

This method retrieves information about the Ads device.

HRESULT ReadDeviceInfo(
  BSTR* pName,
  AdsVersion* pVersion);

Parameters

pName

[out] A variable that holds the BSTR string that describes the ADS device.

pVersion

[out] A pointer to a variable of the type AdsVersion that holds the version number.

Return Values

S_OK

The function was successfully called

ADSERRORCODES

An error occurs