ITcAdsSync::WriteControl
This method sets the state of the ADS system an devices
HRESULTWriteControl(
ADSSTATE adsState,
ADSSTATE deviceState,
long cbLen,
byte* pData);
Parameters
| 
 adsState  | 
 [in] The states as ADSSTATE we want to set onto the ADS system.  | 
| 
 deviceState  | 
 [in] The states as ADSSTATE we want to set onto the ADS device.  | 
| 
 cbLen  | 
 [in] Count of byte we want to write to the variable.  | 
| 
 pData  | 
 [in, size_is(cbLen)] A pointer to the first element of a byte array with the length cbLen of additional the data we want to write to the Ads device.  |