AdsDelDeviceNotificationCon
The AdsAddDeviceNotificationCon method enables the receipt of an ADS device deletion notification confirmation. The receiving module must provide this method. AdsDelDeviceNotificationReq forms the counterpart and must be called beforehand.
Syntax
void AdsDelDeviceNotificationCon( AmsAddr& rAddr, ULONG invokeId, ULONG nResult );
Return value
void
Parameter
Name | Type | Description |
|---|---|---|
rAddr | AmsAddr& | [in] Structure with NetId and port number of the responding ADS server. |
invokeId | ULONG | [in] handle of the transmitted command; the InvokeId is specified by the source device and serves to identify the commands. |
nResult | ULONG | [in] contains the result of the ADS write command; see AdsStatuscodes. |