AdsDeviceNotificationInd

The method AdsDeviceNotificationInd enables receiving of information from an ADS device notification display. The receiving module must provide this method. There is no acknowledgment of receipt.
AdsDeviceNotificationCon must be called by AdsDeviceNotificationReq to check the transfer.

Syntax


void AdsDeviceNotificationInd( AmsAddr& rAddr, ULONG invokeId, ULONG cbLength,
AdsNotificationStream* pNotifications );

Parameter

rAddr: (type: AmsAddr&) [in] structure with NetId and port number of the responding ADS server.

invokeId: (type: ULONG) [in] handle of the command that is sent. The InvokeId is specified by the source device and is used for the identification of the commands.

cbLength: (type: ULONG) [in] contains the length of pNotifications.

pNotifications: (type: AdsNotificationStream*) [in] pointer to the notifications. This array consists of AdsStampHeader with notification handle and data via AdsNotificationSample.

Return Value

void