SIEMENS AG
• res1
reserved, must be set to NULL.
In the event of a valid WindowHandles messages with
PostMessage(Message,wParam,lParam) are transmitted. In this instance
lParam High-Word is the error code, lParam Low-Word has the following
meaning:
TS_CONNECTED = 1
TS_DISCONNECTED = 3
If there were no errors, the function supplies 0 as the return value otherwise an
error message which can be evaluated in accordance with the error table (see
error_message).
C-Adapter
int
ts_dial ( char *
Toolbox for Data Link PGs/PCs to SIMATIC S7
ModemName,
char *
Standort,
char *
TelNo,
char *
UserName,
char *
Password,
HANDLE
WindowHandle,
UINT
Message,
WPARAM
wParam,
char *
res1);
64
connection established
connection not established
PRODAVE S7