[PATCH 2/2] shlwapi/tests: Use defined settings, when testing GetAcceptLanguages

Alexandre Julliard julliard at winehq.org
Thu Feb 4 07:53:47 CST 2010

Detlef Riekenberg <wine.dev at web.de> writes:

> The old tests depend on user language settings, used
> SetLastError(ERROR_SUCCESS) before and GetLastError()
> after the api call for a function, that returns a HRESULT
> and didn't know how the default language fallback works
> Tested on all winetestbot machines

It doesn't work on Wine:

../../../tools/runtest -q -P wine -M shlwapi.dll -T ../../.. -p shlwapi_test.exe.so ordinal.c && touch ordinal.ok
ordinal.c:92: Test failed: RegOpenKey(Software\Microsoft\Internet Explorer\International) failed: 2
make[2]: *** [ordinal.ok] Error 1

Also please fix the compiler warnings before resending.

Alexandre Julliard
julliard at winehq.org

More information about the wine-devel mailing list