ITcAdsSync::ReadState

This method retrieves information about the ADA device State and the ADS system state.

HRESULT ReadState(
  ADSSTATE* pAdsState,
  ADSSTATE* pDeviceState);

Parameters

pAdsState

[out] Pointer to variable of the type ADSSTATE that holds the state of the ADS system.

pDeviceState

[out] Pointer to variable of the type ADSSTATE that holds the state of the ADS device.

Return Values

S_OK

The function was successfully called

ADSERRORCODES

An error occurs