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
4688389d
Commit
4688389d
authored
Jul 12, 2007
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Allocate a dual A/W winproc for DefWindowProc.
parent
cc90b25a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
class.c
dlls/user32/class.c
+3
-0
class.c
dlls/user32/tests/class.c
+2
-2
No files found.
dlls/user32/class.c
View file @
4688389d
...
...
@@ -416,6 +416,9 @@ void CLASS_RegisterBuiltinClasses(void)
register_builtin
(
&
MENU_builtin_class
);
register_builtin
(
&
SCROLL_builtin_class
);
register_builtin
(
&
STATIC_builtin_class
);
/* the DefWindowProc winprocs are magic too */
WINPROC_AllocProc
(
DefWindowProcA
,
DefWindowProcW
);
}
...
...
dlls/user32/tests/class.c
View file @
4688389d
...
...
@@ -602,7 +602,7 @@ static void test_defwndproc()
(
void
*
)
GetClassLongPtrA
(
hwnd
,
GCLP_WNDPROC
),
pDefWindowProcA
);
}
else
todo_wine
{
{
ok
(
GetWindowLongPtrA
(
hwnd
,
GWLP_WNDPROC
)
==
(
LONG_PTR
)
pDefWindowProcA
,
"Wrong ANSI wndproc: %p vs %p
\n
"
,
(
void
*
)
GetWindowLongPtrA
(
hwnd
,
GWLP_WNDPROC
),
pDefWindowProcA
);
ok
(
GetClassLongPtrA
(
hwnd
,
GCLP_WNDPROC
)
==
(
ULONG_PTR
)
pDefWindowProcA
,
"Wrong ANSI wndproc: %p vs %p
\n
"
,
...
...
@@ -617,7 +617,7 @@ static void test_defwndproc()
(
void
*
)
GetClassLongPtrW
(
hwnd
,
GCLP_WNDPROC
),
pDefWindowProcW
);
}
else
todo_wine
{
{
ok
(
GetWindowLongPtrW
(
hwnd
,
GWLP_WNDPROC
)
==
(
LONG_PTR
)
pDefWindowProcW
,
"Wrong Unicode wndproc: %p vs %p
\n
"
,
(
void
*
)
GetWindowLongPtrW
(
hwnd
,
GWLP_WNDPROC
),
pDefWindowProcW
);
ok
(
GetClassLongPtrW
(
hwnd
,
GCLP_WNDPROC
)
==
(
ULONG_PTR
)
pDefWindowProcW
,
"Wrong Unicode wndproc: %p vs %p
\n
"
,
...
...
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