_ITcAdsSyncEvent::DeviceNotification
This method is called from the server for all connected variables of this Ads device. The Event occurs for those variables that had been connected by an AddDeviceNotification before.
HRESULT DeviceNotification(
TimeStamp* pTime,
long hNotification,
long cbLen,
byte* pData
);
Parameters
pTime |
[in] A pointer to a variable of the type TimeStamp that holds the exact time when the connected variable was collected. |
hNotification |
[in] The handle that identifies one particular connected variable. The handle was retuned when the variable was connected by a call to method AddDeviceNotification. |
cbLen |
[in] Count of data bytes received by this method. |
pData |
[in, size_is(cbLen)]. A pointer to the first element of a byte array with the size of cbLen that contains the data of the connected variable |