TApxLibModem.AddModemRecord

TApxLibModem

function AddModemRecord(ModemRecord : TLmModemRecord) : Integer;

Adds a modem record to the list of available modems.

AddModemRecord adds the modem record specified by ModemRecord to the list of available modems to the modemcap index. This function will fail if the modem cap index already contains a modem with the same name, manufacturer, and modem as ModemRecord. The return value will be an ELmXxx error constant describing the result of the call to modemcap. Refer to AxLibMdm.pas for these constant values.

See also: AddModem