AdsAmsRegisterRouterNotification

The AdsAmsRegisterNotificationReq() function can be used to detect a change in the status of the TwinCAT router. The given callback function is invoked each time the status changes. Monitoring of the router's status is ended once more by the AdsAmsUnRegisterNotification() function.

LONG AdsAmsRegisterRouterNotification(
     PAmsRouterNotificationFuncEx  pNoteFunc
);

Parameter

pNoteFunc

[in] Name of the callback function

Return value

Returns the function's error status.

Hints:

Example

-