projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[SETUPAPI]
[reactos.git]
/
reactos
/
dll
/
win32
/
setupapi
/
devinst.c
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);
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
goto cleanup;
/* Create a new struct InfFileDetails, and set it to
* SelectedDriver->InfFileDetails, to release use of