SIEMENS AG PRODAVE S7
Toolbox for Data Link PGs/PCs to SIMATIC S7
64
• 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 connection established
TS_DISCONNECTED = 3 connection not established
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 * ModemName,
char * Standort,
char * TelNo,
char * UserName,
char * Password,
HANDLE WindowHandle,
UINT Message,
WPARAM wParam,
char * res1);