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
90f9b927
Commit
90f9b927
authored
Sep 08, 2023
by
Tim Clem
Committed by
Alexandre Julliard
Sep 08, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
win32u/tests: Add a test for cross-process WM_GETDLGCODE with a NULL lparam.
Co-authored-by:
Jacek Caban
<
jacek@codeweavers.com
>
parent
33dbc3c8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
win32u.c
dlls/win32u/tests/win32u.c
+7
-0
No files found.
dlls/win32u/tests/win32u.c
View file @
90f9b927
...
...
@@ -964,6 +964,9 @@ static LRESULT WINAPI test_ipc_message_proc( HWND hwnd, UINT msg, WPARAM wparam,
ok
(
!
wcscmp
(
mdi
->
szTitle
,
L"TestTitle"
),
"szTitle = %s
\n
"
,
wine_dbgstr_w
(
mdi
->
szTitle
));
return
0xdeadbeef
;
}
case
WM_GETDLGCODE
:
return
!
lparam
;
}
return
DefWindowProcW
(
hwnd
,
msg
,
wparam
,
lparam
);
...
...
@@ -1059,6 +1062,10 @@ static void test_inter_process_child( HWND hwnd )
res
=
NtUserMessageCall
(
hwnd
,
WM_GETTEXTLENGTH
,
0
,
0
,
NULL
,
NtUserSendMessage
,
TRUE
);
ok
(
res
==
4
,
"res = %d
\n
"
,
res
);
res
=
NtUserMessageCall
(
hwnd
,
WM_GETDLGCODE
,
0
,
0
,
NULL
,
NtUserSendMessage
,
TRUE
);
todo_wine
ok
(
res
==
1
,
"res = %d
\n
"
,
res
);
mdi
.
szClass
=
"TestClass"
;
mdi
.
szTitle
=
"TestTitle"
;
mdi
.
hOwner
=
0
;
...
...
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