AdsAddDeviceNotificationCon
The method AdsAddDeviceNotificationCon confirms an ADS device addition notification request. AdsAddDeviceNotificationReq forms the counterpart and must be called beforehand.
Syntax
void AdsAddDeviceNotificationCon( AmsAddr& rAddr, ULONG invokeId, ULONG nResult, ULONG handle );
Parameter
rAddr: (type: AmsAddr&) [in] structure with NetId and port number of the responding ADS server.
invokeId: (type: ULONG) [in] handle of the command that is sent. The InvokeId is specified by the source device and is used for the identification of the commands.
nResult: (type: ULONG) [in] contains the result of the ADS write command; see AdsStatuscodes.
Handle: (type: ULONG) [in] handle to generated device notification.
Return Value
void