terminateDrivers
Terminates all instances of a driver which match the contents of the matching dictionary. Does not unload module.
Declaration
IOReturn terminateDrivers(
OSDictionary *matching );Parameters
- matching:
A dictionary whose keys and values are used for matching personalities in the database. For example, a matching dictionary containing a 'IOProviderClass' key with the value 'IOPCIDevice' will cause termination for all instances whose personalities have the key 'IOProviderClass' equal to 'IOPCIDevice'.
See Also
Miscellaneous
addDriversfindDrivers(IOService *, SInt32 *)findDrivers(OSDictionary *, SInt32 *)freegetGenerationCountinitinitializeisModuleLoadedisModuleLoaded(const char *)isModuleLoaded(OSString *)moduleHasLoaded(const char *)moduleHasLoaded(OSString *)removeDriversresetresetAndAddDriversserializestartMatchingterminateDriversForModule(const char *, bool)terminateDriversForModule(OSString *, bool)unloadModule