BOOLEAN
CmpFindDrivers(
  IN  PHHIVE Hive,
  IN  HCELL_INDEX ControlSet,
  IN  SERVICE_LOAD_TYPE LoadType,
  IN  PWSTR BootFileSystem OPTIONAL,
  IN  PLIST_ENTRY DriverListHead
  );

Routine Description:

    Traverses a particular control set and creates a list of boot drivers
    to be loaded.  This list is unordered, but complete.

Arguments:

    Hive - Supplies the hive control structure for the SYSTEM hive.

    ControlSet - Supplies the HCELL_INDEX of the root of the control set.

    LoadType - Supplies the type of drivers to be loaded (BootLoad,
            SystemLoad, AutoLoad, etc)

    BootFileSystem - If present, supplies the base name of the boot
        filesystem, which is explicitly added to the driver list.

    DriverListHead - Supplies a pointer to the head of the (empty) list
            of boot drivers to load.

Return Value:

    TRUE - List successfully created.

    FALSE - Hive is corrupt.