ReadState

Reads the state of the ADS device and the ADS system.

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

Parameter

pAdsState

[out] Pointer to a variable of type ADSSTATE which contains the state of the ADS system.

pDeviceState

[out] Pointer to a variable of type ADSSTATE which contains the state of the ADS device.

Return values

S_OK

The function was called successfully.

ADSERRORCODES

An error occurs.

Comments