FindModem
Returns the list of all available modems in the local station.
Function | Group | Execution | Windows | Embedded | Thin Client | Mobile Access |
---|---|---|---|---|---|---|
FindModem | Dial-up | Synchronous | Supported (see note) | Supported | Supported | Not supported |
Note: This function is not supported on Windows 7.
Syntax
FindModem( "tagArray" )
- tagArray
- Name of a string array tag receiving the list of available modems.
Returned value
Returns the number of modems found.
Notes
You can use this function to get the serial interface name for a dial-up connection via modem, and then use this information to fill the strPhonebookEntryOrModem parameter for the DialError, DialStatus, DialUp, and HangUp functions.
Examples
Tag Name | Expression |
---|---|
Tag | FindModem( “Modems[1]” ) |