AdsDelDeviceNotificationReq

Die Methode AdsDelDeviceNotificationReq ermöglicht das Senden eines ADS-Gerät-Löschen-Notification-Befehls, um eine Geräte-Notification von einem ADS-Gerät zu entfernen. Die AdsDelDeviceNotificationCon wird beim Eingang der Antwort aufgerufen.

Syntax

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

AdsDelDeviceNotificationReq 1: Rückgabewert

Typ: int

Fehlercode - siehe AdsStatuscodes.

Parameter

Name

Typ

Beschreibung

rAddr

AmsAddr&

[in] Struktur mit NetId und Portnummer vom ADS-Server.

invokeId

ULONG

[in] Handle des Befehls, der gesendet wird. Die InvokeId wird vom Quellgerät spezifiziert und wird für die Identifizierung der Befehle herangezogen.

hNotification

ULONG

[in] enthält das Handle der zu entfernenden Notification.