mirror of
https://github.com/reactos/reactos.git
synced 2024-11-20 14:30:57 +00:00
[SETUPAPI]
- 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
This commit is contained in:
parent
d604269b40
commit
9bcb3b3a2e
1 changed files with 1 additions and 1 deletions
|
@ -5471,7 +5471,7 @@ SetupDiInstallDevice(
|
||||||
NewFileName, MAX_PATH,
|
NewFileName, MAX_PATH,
|
||||||
NULL,
|
NULL,
|
||||||
NULL);
|
NULL);
|
||||||
if (!Result)
|
if (!Result && GetLastError() != ERROR_FILE_EXISTS)
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
/* Create a new struct InfFileDetails, and set it to
|
/* Create a new struct InfFileDetails, and set it to
|
||||||
* SelectedDriver->InfFileDetails, to release use of
|
* SelectedDriver->InfFileDetails, to release use of
|
||||||
|
|
Loading…
Reference in a new issue