advpack: Open the INF file if the RSC_FLAG_INF flag is specified

James Hawkins truiken at gmail.com
Wed Mar 29 01:06:52 CST 2006


Hi,

I changed the test to check for any setupapi error, because our
implementation of SetupOpenInfFile returns ERROR_EXPECTED_SECTION_NAME
when trying to parse an executable file, whereas native returns
ERROR_WRONG_INF_STYLE.  I figure it's not worth the effort of
squeezing in the exact error.

Changelog:
* Open the INF file if the RSC_FLAG_INF flag is specified.

 dlls/advpack/install.c       |    7 +++++++
 dlls/advpack/tests/install.c |    7 ++-----
 2 files changed, 9 insertions(+), 5 deletions(-)

--
James Hawkins
-------------- next part --------------
A non-text attachment was scrubbed...
Name: a9eeebdf75297de1e73bbb6ec010c5685d403bab.diff
Type: text/x-patch
Size: 2229 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20060329/e2013d8f/a9eeebdf75297de1e73bbb6ec010c5685d403bab.diff


More information about the wine-patches mailing list