AdsDeviceNotificationInd

The AdsDeviceNotificationInd method enables the receipt from an ADS device notification display. The receiving module must provide this method. Receipt is not acknowledged.
AdsDeviceNotificationCon must be called on the AdsDeviceNotificationReq side to check the transmission.

Syntax

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

AdsDeviceNotificationInd 1: 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 command, which was sent. The InvokeId is specified by the source device and is used for the identification of the commands.

cbLength

ULONG

[in] contains the length of pNotifications.

pNotifications

AdsNotificationStream*

[in] Pointer to the notifications. This array consists of AdsStampHeader with notification handle and data via AdsNotificationSample.