AdsReadDeviceInfoInd

The AdsDeviceInfoInd method refers to an ADS DeviceInfo command for reading the identification and version number of an ADS server. AdsReadDeviceInfoRes must then be called.

Syntax

void    AdsReadDeviceInfoInd( AmsAddr& rAddr, ULONG invokeId ); 

AdsReadDeviceInfoInd 1: Return value

void

Parameter

Name

Type

Description

rAddr

AmsAddr&

[in] Structure with NetId and port number of the 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.