AdsReadDeviceInfoCon
The AdsReadDeviceInfoCon method enables the receipt of an ADS read confirmation of device information. The receiving module must provide this method. The counterpart AdsReadDeviceInfoReq must be called beforehand.
Syntax
void AdsReadDeviceInfoCon( AmsAddr& rAddr, ULONG invokeId, ULONG nResult, 
CHAR name[ADS_FIXEDNAMESIZE], AdsVersion version );  Return value
 Return value
void
Parameter
| Name | Type | Description | 
|---|---|---|
| rAddr | AmsAddr& | [in] Structure with NetId and port number of the responding ADS server. | 
| invokeId | ULONG | [in] Handle of the command, which was sent. The InvokeId is specified by the source device and is used for the identification of the commands. | 
| nResult | ULONG | [in] contains the result of the ADS write command; see AdsStatuscodes. | 
| name | char[ADS_FIXEDNAMESIZE] | [in] contains the name of the device. | 
| version | AdsVersion | [in] structure of build (int), revision (byte) and version (byte) of the device. |