TApxLibModem.FindModemRecord

TApxLibModem

function FindModemRecord(
const SearchExpr : string; SearchIn : set of TLmFindSet;
IgnoreCase : Boolean) : TLmModemRecord;

Locates a specific modem record in the modemcap index.

The FindModemRecord method will search the modemcap index for matching modems. SearchExpr is a regular expression defining the search terms. The fields to search in are specified in the SearchIn parameter, and can be one or more of the following:

 TLmFindSet Values
mcFindModemName
mcFindManufacturer
mcFindModel
mcFindModemFile (not applicable for FindModem)

 

IgnoreCase determines whether the search is case sensitive or not.

The return value will be the first modem record in the modemcap index that matches the search criteria. If no modem records match the search criteria, the return value will be nil. The FindNextModemRecord method is used to find the next matching modem.

See also: FindModem, FindNextModem, FindNextModemRecord