Author: hpoussin
Date: Fri Jun 2 17:43:02 2006
New Revision: 22175
URL:
http://svn.reactos.ru/svn/reactos?rev=22175&view=rev
Log:
By default, don't search a driver on removable media.
Do it only when choosing automatic install or selecting "Include removable
media" in new hardware wizard
Modified:
trunk/reactos/dll/win32/newdev/newdev.c
Modified: trunk/reactos/dll/win32/newdev/newdev.c
URL:
http://svn.reactos.ru/svn/reactos/trunk/reactos/dll/win32/newdev/newdev.c?r…
==============================================================================
--- trunk/reactos/dll/win32/newdev/newdev.c (original)
+++ trunk/reactos/dll/win32/newdev/newdev.c Fri Jun 2 17:43:02 2006
@@ -745,7 +745,7 @@
TRACE("Installing %S (%S)\n", DevInstData->buffer, InstanceId);
/* Search driver in default location and removable devices */
- if (!PrepareFoldersToScan(DevInstData, TRUE, FALSE, NULL))
+ if (!PrepareFoldersToScan(DevInstData, FALSE, FALSE, NULL))
{
TRACE("PrepareFoldersToScan() failed with error 0x%lx\n", GetLastError());
goto cleanup;