AdsDelDeviceNotificationReq
The AdsDelDeviceNotificationReq method enables the sending of an ADS device delete notification command to remove a device notification from an ADS device. The AdsDelDeviceNotificationCon is called when the response is received.
Syntax
int AdsDelDeviceNotificationReq( AmsAddr& rAddr, ULONG invokeId, ULONG hNotification ); 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. |
hNotification | ULONG | [in] contains the handle of the notification to be removed. |
Return value