TestModem Method

 

Description   This method tests if any modem is connected to a communication port. The result is returned in the ClassType, Manufacturer and Model properties.

Usage            [FAX].TestModemPort

Returns        If the test is not successful (the port or channel doesn’t exist), the method returns an error code. Otherwise, the return value is zero. ClassType, Manufacturer and Model properties will be set according to the information returned by the modem.

 

Remarks       Port                   String         The name of either the communication port, Brooktrout or GammaLink fax channels (COM2, BChannel1).

See Also        ClassType property, Manufacturer property, Model property