http://bugs.winehq.org/show_bug.cgi?id=10649
--- Comment #5 from Juan Lang juan_lang@yahoo.com 2007-12-03 13:18:32 --- Hi Sam, you should write the test case so that it passes on Windows (and fails on Wine) to show the problem. Mark the failing tests on Wine with todo_wine.
I changed the last two ok calls in your patch to: + todo_wine ok(ret == ERROR_SUCCESS, "expected ERROR_SUCCESS, got %d\n", ret); + todo_wine ok(size == sizeof string1A, "%d (type?) returned when size expected - this is a false assumption if reported on Windows, the test case and WINE RegQueryValueEx should be fixed\n", size);
and the tests succeed for me. Please make a similar change (and perhaps remove the "this is a false assumption..." bit, that's a tad verbose) and send to wine-patches.