18.01.2015 Views

Technical Reference Manual - InduSoft

Technical Reference Manual - InduSoft

Technical Reference Manual - InduSoft

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Appendix: Built-in Scripting Language<br />

See also: PhoneDisableListen()<br />

PhoneHangUp<br />

Hangs up a dial-up connection previously established with the PhoneDialUp function.<br />

Function Group Execution Windows Embedded Thin Client<br />

PhoneHangUp Dial-up Asynchronous Supported (see note) Not supported Supported<br />

Note: This function is not supported on Windows 7.<br />

Syntax<br />

PhoneHangUp( optStrModemName )<br />

optStrModemName<br />

Name of the modem used to dial. If you do not specify a modem, the function will use the first<br />

modem found on the operating system.<br />

Returned value<br />

1 OK (dial connection was dropped)<br />

−1<br />

−2<br />

INDTAPI.DLL library not found<br />

PhoneHangUp () function not supported by the current INDTAPI.DLL library<br />

Examples<br />

Tag Name<br />

Expression<br />

PhoneHangUp()<br />

PhoneHangUp( "Hayes Compatible Modem on COM1" )<br />

PhoneHangUp( StringModemNameTag )<br />

PhoneStatus<br />

Function Group Execution Windows Embedded Thin Client<br />

PhoneStatus Dial-up Synchronous Supported (see note) Not supported Supported<br />

Note: This function is not supported on Windows 7.<br />

Description<br />

Checks the status of the current connections.<br />

Syntax<br />

PhoneStatus ( "strStatus", optStrModemName )<br />

strStatus<br />

Name of the tag that will receive the status description text<br />

<strong>InduSoft</strong> Web Studio Page 727

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!