LayoutFile directive for additional system-supplied INF files is optional,

don't fail if it is not found.
Fixes 2 tests in setupapi:devclass

svn path=/trunk/; revision=41058
This commit is contained in:
Sylvain Petreolle 2009-05-23 10:17:24 +00:00
parent 299f35372a
commit 24ceaa277d

View file

@ -822,9 +822,7 @@ SetupDiInstallClassExW(
goto cleanup;
/* Try to append a layout file */
ret = SetupOpenAppendInfFileW(NULL, hInf, NULL);
if (!ret)
goto cleanup;
SetupOpenAppendInfFileW(NULL, hInf, NULL);
if (InterfaceClassGuid)
{