mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user