mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[SETUPAPI] SetupDiInstallDevice: Do not fail if the .inf file does not have a .Services section
CORE-17530
This commit is contained in:
parent
4d25869e0e
commit
e4646bc5d1
1 changed files with 5 additions and 1 deletions
|
@ -5609,7 +5609,11 @@ SetupDiInstallDevice(
|
|||
NULL,
|
||||
NULL);
|
||||
if (!Result)
|
||||
goto cleanup;
|
||||
{
|
||||
if (GetLastError() != ERROR_SECTION_NOT_FOUND)
|
||||
goto cleanup;
|
||||
SetLastError(ERROR_SUCCESS);
|
||||
}
|
||||
if (GetLastError() == ERROR_SUCCESS_REBOOT_REQUIRED)
|
||||
RebootRequired = TRUE;
|
||||
|
||||
|
|
Loading…
Reference in a new issue