AdsDelDeviceNotificationRes

The AdsAddDeviceNotificationRes method enables the receipt of an ADS device deletion notification. AdsDelDeviceNotificationCon forms the counterpart and is subsequently called.

Syntax

int AdsDelDeviceNotificationRes( AmsAddr& rAddr, ULONG invokeId, ULONG nResult ); 

AdsDelDeviceNotificationRes 1: Return value

Int

Returns the result of the ADS command, see AdsStatuscodes.

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 command; see AdsStatuscodes.