OSErr ScanDriverCandidates(
RegEntryIDPtr deviceID,
FileBasedDriverRecordPtr fileBasedDrivers,
ItemCount nFileBasedDrivers,
FileBasedDriverRecordPtr matchingDrivers,
ItemCount *nMatchingDrivers);
Given the name entry ID of a device and a list of FileBasedDriverRecord elements, ScanDriverCandidates constructs a list of matching file-based drivers that match the device name or one of the device-compatible names. The list is sorted from best match to least favorable match. Input to this service is an array of FileBasedDriverRecord elements, described in FindDriverCandidates. Clients can use ScanDriverCandidates to match drivers from a static list of candidates without having to incur the overhead of disk I/O operations.
noErr
|
0 | No error |
fnfErr
|
-43 | File not found |
All CFM errors (see Inside Macintosh: PowerPC System Software) |