AdsSyncDelDeviceNotificationReqEx

A notification defined previously is deleted from an ADS server.

LONG AdsSyncDelDeviceNotificationReqEx(
  LONG       port,
  PAmsAddr   pAddr,
  ULONG      hNotification
);

Parameter

port

[in] port number of an ADS port that had previously been opened with AdsPortOpenEx or AdsPortOpen.

pAddr

[in] Structure with NetId and port number of the ADS server.

hNotification

[out] Address of the variable that contains the handle of the notification.

Return value

Returns the function's error state.

Sample

See Sample 8: Event-driven reading