Table 7- 349 Registeronconnectionlostcallback() - Native C - Siemens Simatic S7-1500 Function Manual

Hide thumbs Also See for Simatic S7-1500:
Table of Contents

Advertisement

User interfaces (API)
7.7 API IRemoteRuntimeManager
RegisterOnConnectionLostCallback()
When the event occurs, the registered callback function is called. Only one callback function
can be registered for the event. Registering a new callback function causes the previous
callback function to be unregistered.

Table 7- 349 RegisterOnConnectionLostCallback() - Native C++

Syntax
Parameters
Return values
Note
RegisterOnConnectionLostEvent()
When the event occurs, the registered event object is set to the signaled state. Only one
event object can be registered for the event. Registration of a new event object causes the
previous event object to be deleted.
Table 7- 350 RegisterOnConnectionLostEvent() - Native C++
Syntax
Parameters
Return values
Table 7- 351 RegisterOnConnectionLostEvent() - .NET (C#)
Syntax
Parameters
Return values
276
void RegisterOnConnectionLostCallback(
EventCallback_IRRTM in_CallbackFunction
);
EventCallback_IRRTM in_CallbackFunction:
A callback function that subscribes to an event. See EventCallback_IRRTM
(Page 285).
None
The callback function runs in a separate thread.
void RegisterOnConnectionLostEvent();
void RegisterOnConnectionLostEvent(
HANDLE* in_Event
);
None:
An internal event object is registered.
HANDLE* in_Event:
A handle for a user-specific event object. The event object is registered.
None
void RegisterOnConnectionLostEvent();
None
None
S7-PLCSIM Advanced
Function Manual, 12/2017, A5E37039512-AB

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents