Alexandre Julliard (@julliard) commented about dlls/bcp47langs/tests/bcp47langs.c:
+#include <windows.h> +#include "wine/test.h" + +static HRESULT (WINAPI *pGetFontFallbackLanguageList)(const WCHAR *, size_t, WCHAR *, size_t *); + +static void init_function_pointers(void) +{ + HMODULE bcp47langs = LoadLibraryA("bcp47langs.dll"); + + if (!bcp47langs) + { + win_skip("bcp47langs.dll is unavailable.\n"); + return; + } + + pGetFontFallbackLanguageList = (void*)GetProcAddress(bcp47langs, "GetFontFallbackLanguageList"); Checking for the dll itself is not very useful, the tests won't be run if it's unavailable.
Also are there platforms where `GetFontFallbackLanguageList` is missing? -- https://gitlab.winehq.org/wine/wine/-/merge_requests/8448#note_108378