[PATCH 2/2] Fix some test failures on Win9x/WinMe
Paul Vriens
Paul.Vriens.Wine at gmail.com
Wed Nov 11 10:40:05 CST 2009
---
dlls/setupapi/tests/install.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/dlls/setupapi/tests/install.c b/dlls/setupapi/tests/install.c
index 7b93d97..35514d5 100644
--- a/dlls/setupapi/tests/install.c
+++ b/dlls/setupapi/tests/install.c
@@ -491,7 +491,13 @@ static void test_inffilelist(void)
* get the value as reference
*/
expected = 0;
+ SetLastError(0xdeadbeef);
ret = pSetupGetInfFileListW(NULL, INF_STYLE_WIN4, NULL, 0, &expected);
+ if (!ret && GetLastError() == ERROR_CALL_NOT_IMPLEMENTED)
+ {
+ win_skip("SetupGetInfFileListW not implemented\n");
+ return;
+ }
ok(ret, "expected SetupGetInfFileListW to succeed! Error: %d\n", GetLastError());
ok(expected > 0, "expected required buffersize to be at least 1\n");
--
1.6.2.5
--------------070602000802060106000700--
More information about the wine-patches
mailing list