mirror of
https://github.com/reactos/reactos.git
synced 2025-01-07 14:51:00 +00:00
[MSPORTS]
- Check for failure when calling SetupDiGetActualSectionToInstallW so we don't pass garbage to SetupInstallFromInfSectionW. CID 715920 svn path=/trunk/; revision=73663
This commit is contained in:
parent
5fd3611831
commit
b12e316394
1 changed files with 7 additions and 6 deletions
|
@ -579,12 +579,13 @@ InstallDeviceData(IN HDEVINFO DeviceInfoSet,
|
|||
|
||||
TRACE("Section name: %S\n", DriverInfoDetailData->SectionName);
|
||||
|
||||
SetupDiGetActualSectionToInstallW(hInf,
|
||||
DriverInfoDetailData->SectionName,
|
||||
InfSectionWithExt,
|
||||
256,
|
||||
NULL,
|
||||
NULL);
|
||||
if (!SetupDiGetActualSectionToInstallW(hInf,
|
||||
DriverInfoDetailData->SectionName,
|
||||
InfSectionWithExt,
|
||||
256,
|
||||
NULL,
|
||||
NULL))
|
||||
goto done;
|
||||
|
||||
TRACE("InfSectionWithExt: %S\n", InfSectionWithExt);
|
||||
|
||||
|
|
Loading…
Reference in a new issue