TApxLibModem.DeleteModem

TApxLibModem

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

Deletes a modem detail record from a modem list.

DeleteModem will search the modem detail file specified by ModemDetailFile for the modem pointed to by Modem. If the modem is found it will be removed from the list. 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: DeleteModemRecord