TApxLibModem.AddModem

TApxLibModem

function AddModem(
  const ModemDetailFile : string; Modem : TLmModem) : Integer;

Adds a modem definition to modemcap.

AddModem adds the modem specified by Modem to the modem detail file specified by ModemDetailFile. This function will fail if the modem detail file already contains a modem with the same FriendlyName as Modem. 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: AddModemRecord