omron — PhoneDialUp

Appendix: Built-in Scripting Language HangUp Hangs-up a dial-up connection. Note: This function is not supported on Windows 7. Syntax HangUp( numType , strPhonebookEntryOrModem ) numType A numeric flag that specifies the content of the strPhonebookEntryorModem parameter. • 0: Phonebook Name • 1: Modem Name • 2: Direct Connection Name strPhonebookEntryOrModem The Phonebook Name, Modem Name, or Direct Connection Name used to make the connection. The numType parameter specifies which of these methods is used. Returned value Examples See also : FindModem() PhoneDialUp Dials to a phone number using Telephony Application Program Interface (TAPI). Note: This function is not supported on Windows 7.

Syntax PhoneDialUp( strPhoneNumber , optStrModemName ) strPhoneNumber Telephone number the function will call. Page 610 InduSoft Web Studio Function Group Execution Windows Embedded Thin Client HangUp Dial-up Synchronous Supported (see note) Supported Supported 0 OK. -1 Error: INDRAS.DLL not found -2 Error:

INDRAS.DLL damaged -3 Invalid value for the numType parameter (0 or 1) -4 PhoneBook or modem does not exist -5 No configured modems exist Tag Name Expression Tag HangUp( 0, "OfficeDialup" ) Tag HangUp( 1, "USRobotics SportsterFaxModem" ) _ Tag HangUp( 2, "DirectDial", "Rberton", "MyPassword" ) Function Group Execution Windows Embedded Thin Client PhoneDialUp Dial-up Asynchronous Supported (see note) Not supported Supported