Re: [PATCH 1/6] atl100/tests: Added class name test for AtlAxWinInit.
Qian Hong <qhong(a)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 julliard(a)winehq.org
On Fri, Mar 15, 2013 at 9:24 PM, Alexandre Julliard <julliard(a)winehq.org> wrote:
It's not useful to load this dynamically if you are not going to check that it was found.
Thanks very much, I'll send an improved version. -- Regards, Qian Hong - http://www.codeweavers.com
participants (2)
-
Alexandre Julliard -
Qian Hong