Qian Hong <qh...@codeweavers.com> writes:

> @@ -562,6 +562,34 @@ static void test_source_iface(void)
>      ok(maj_ver == 4 && min_ver == 0, "ver = %d.%d\n", maj_ver, min_ver);
>  }
>  
> +static void test_ax_win(void)
> +{
> +    BOOL ret;
> +    WNDCLASSEXW wcex;
> +    static const WCHAR AtlAxWin100[] = 
> {'A','t','l','A','x','W','i','n','1','0','0',0};
> +    static const WCHAR AtlAxWinLic100[] = 
> {'A','t','l','A','x','W','i','n','L','i','c','1','0','0',0};
> +    static HMODULE huser32 = 0, hinstance = 0;
> +    static BOOL (WINAPI *pGetClassInfoExW)(HINSTANCE, LPCWSTR, WNDCLASSEXW 
> *);
> +
> +    huser32 = GetModuleHandleA("user32.dll");
> +    pGetClassInfoExW= (void *)GetProcAddress(huser32, "GetClassInfoExW");

It's not useful to load this dynamically if you are not going to check
that it was found.

-- 
Alexandre Julliard
julli...@winehq.org


Reply via email to