Stops listening to the modem for incoming
calls.
Function |
Group |
Execution |
Windows |
Embedded |
Thin Client |
PhoneDisableListen
|
Dial-up |
Synchronous |
Supported
(see note) |
Not
supported |
Supported |
Note: This
function is not supported on Windows 7.
Syntax
PhoneDisableListen( optStrModemName )
- optStrModemName
- Name of the modem used to dial. If you do not
specify a modem, the function will use the first modem found on the
operating system.
Returned value
1 |
OK (stop
listening for incoming calls) |
−1 |
INDTAPI.DLL library not found |
−2 |
PhoneDisableListen () function not supported by the current
INDTAPI.DLL library |
Examples
Tag Name |
Expression |
|
PhoneDisableListen()
|
|
PhoneDisableListen( "Hayes Compatible Modem
on COM1" )
|
|
PhoneDisableListen( StringModemNameTag
)
|
See also: PhoneEnableListen()