mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-14 17:16:18 +00:00
user32/tests: Fix the window creation on Win64.
This commit is contained in:
parent
82fb611806
commit
8432ff70bb
|
@ -43,11 +43,13 @@ static const WCHAR WC_EDITW[] = {'E','d','i','t',0};
|
|||
|
||||
static LRESULT WINAPI ClassTest_WndProc (HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
|
||||
{
|
||||
if (msg == WM_NCCREATE) return 1;
|
||||
return DefWindowProcW (hWnd, msg, wParam, lParam);
|
||||
}
|
||||
|
||||
static LRESULT WINAPI ClassTest_WndProc2 (HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
|
||||
{
|
||||
if (msg == WM_NCCREATE) return 1;
|
||||
return DefWindowProcA (hWnd, msg, wParam, lParam);
|
||||
}
|
||||
|
||||
|
@ -370,6 +372,7 @@ static void test_instances(void)
|
|||
|
||||
/* setting global flag doesn't change status of class */
|
||||
hwnd = CreateWindowExA( 0, name, "test", 0, 0, 0, 0, 0, 0, 0, main_module, 0 );
|
||||
ok( hwnd != 0, "CreateWindow failed error %u\n", GetLastError());
|
||||
SetClassLongA( hwnd, GCL_STYLE, CS_GLOBALCLASS );
|
||||
cls.lpszMenuName = "kernel32";
|
||||
cls.hInstance = kernel32;
|
||||
|
|
Loading…
Reference in a new issue