Detlef Riekenberg wine.dev@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.