X-Git-Url: https://git.reactos.org/?p=reactos.git;a=blobdiff_plain;f=base%2Fsetup%2Fusetup%2Finterface%2Fdevinst.c;h=3c1e43d26967c51c983d804c363bb60d55967cd7;hp=8ea6444d2f043996e1007fd40e139d0a7dc4b95a;hb=3a034047fc566b9d527f833df29a3fff4408bcb7;hpb=e8b4cecff1a206e4d19d58b3e4056eb7e5b07402 diff --git a/base/setup/usetup/interface/devinst.c b/base/setup/usetup/interface/devinst.c index 8ea6444d2f0..3c1e43d2696 100644 --- a/base/setup/usetup/interface/devinst.c +++ b/base/setup/usetup/interface/devinst.c @@ -11,10 +11,6 @@ #define NDEBUG #include -#define INITGUID -#include -#include - BOOLEAN ResetDevice( IN LPCWSTR DeviceId) @@ -65,6 +61,9 @@ InstallDriver( /* Find associated driver name */ /* FIXME: check in other sections too! */ if (!SetupFindFirstLineW(hInf, L"BootBusExtenders.Load", Driver, &Context) + && !SetupFindFirstLineW(hInf, L"BusExtenders.Load", Driver, &Context) + && !SetupFindFirstLineW(hInf, L"SCSI.Load", Driver, &Context) + && !SetupFindFirstLineW(hInf, L"InputDevicesSupport.Load", Driver, &Context) && !SetupFindFirstLineW(hInf, L"Keyboard.Load", Driver, &Context)) return FALSE; if (!INF_GetDataField(&Context, 1, &ImagePath)) @@ -81,7 +80,7 @@ InstallDriver( RtlCopyMemory(FullImagePath, PathPrefix.Buffer, PathPrefix.MaximumLength); wcscat(FullImagePath, ImagePath); - DPRINT("Using driver '%S' for device '%S'\n", ImagePath, DeviceId); + DPRINT1("Using driver '%S' for device '%S'\n", ImagePath, DeviceId); /* Create service key */ RtlInitUnicodeString(&StringU, Driver);