Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
8432ff70
Commit
8432ff70
authored
May 07, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32/tests: Fix the window creation on Win64.
parent
82fb6118
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
class.c
dlls/user32/tests/class.c
+3
-0
No files found.
dlls/user32/tests/class.c
View file @
8432ff70
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment