AdsDelDeviceNotificationReq

The method AdsDelDeviceNotificationReq permits to send an ADS delete device notification command, for removing a device notification from an ADS device. The AdsDelDeviceNotificationCon will be called on arrival of the answer.

Syntax


int AdsDelDeviceNotificationReq( AmsAddr& rAddr, ULONG invokeId, ULONG hNotification );

Parameter

rAddr: (type: AmsAddr&) [in] structure with NetId and port number of the 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.

hNotification: (type: ULONG) [in] contains the handle of the notification to be removed.

Return value

Type: int

Error code - see AdsStatuscodes.