projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d604269
)
[SETUPAPI]
author
Thomas Faber
<thomas.faber@reactos.org>
Thu, 6 Oct 2011 22:33:06 +0000
(22:33 +0000)
committer
Thomas Faber
<thomas.faber@reactos.org>
Thu, 6 Oct 2011 22:33:06 +0000
(22:33 +0000)
- Do not fail in SetupDiInstallDevice if the inf file already exists. Fixes VirtualBox 4.1.x additions
See issue #6522 for more details.
svn path=/trunk/; revision=54037
reactos/dll/win32/setupapi/devinst.c
patch
|
blob
|
history
diff --git
a/reactos/dll/win32/setupapi/devinst.c
b/reactos/dll/win32/setupapi/devinst.c
index
e2e7fd0
..
c090132
100644
(file)
--- a/
reactos/dll/win32/setupapi/devinst.c
+++ b/
reactos/dll/win32/setupapi/devinst.c
@@
-5471,7
+5471,7
@@
SetupDiInstallDevice(
NewFileName, MAX_PATH,
NULL,
NULL);
- if (!Result)
+ if (!Result
&& GetLastError() != ERROR_FILE_EXISTS
)
goto cleanup;
/* Create a new struct InfFileDetails, and set it to
* SelectedDriver->InfFileDetails, to release use of