DiBuildClassDrvList

RETERR DiBuildClassDrvList(LPDEVICE_INFO lpdi)
 

Builds a list of all drivers for a specificed class of devices.

lpdi
Pointer to the device for which a class driver list should be built.

The lpdi->szClassName field should be filled in with the class name to be used when building the class driver list. If this field is not filled in, DiBuildClassDrvList will build a list of drivers for all classes. Note this API will build a full DRIVER_NODE struct for each driver in the class. Building full DRIVER_NODES requires memory overhead for each DRIVER_NODE and is slow, especially if the list of drivers is large.