Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
287d22eb
Commit
287d22eb
authored
Apr 10, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32/tests: Fix a couple of test failures on Windows.
parent
6fb1d752
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
win.c
dlls/user32/tests/win.c
+8
-2
No files found.
dlls/user32/tests/win.c
View file @
287d22eb
...
...
@@ -2662,7 +2662,10 @@ static void test_keyboard_input(HWND hwnd)
ok
(
GetFocus
()
==
hwnd
,
"wrong focus window %p
\n
"
,
GetFocus
());
keybd_event
(
VK_SPACE
,
0
,
0
,
0
);
ret
=
PeekMessageA
(
&
msg
,
0
,
0
,
0
,
PM_REMOVE
);
do
{
ret
=
PeekMessageA
(
&
msg
,
0
,
0
,
0
,
PM_REMOVE
);
}
while
(
ret
&&
msg
.
message
>=
0xc000
);
if
(
!
ret
)
{
skip
(
"keybd_event didn't work, skipping keyboard test
\n
"
);
...
...
@@ -4930,7 +4933,10 @@ static void test_GetWindowModuleFileName(void)
ok
(
IsWindow
(
hwnd
),
"got invalid desktop window %p
\n
"
,
hwnd
);
SetLastError
(
0xdeadbeef
);
ret2
=
pGetWindowModuleFileNameA
(
hwnd
,
buf2
,
sizeof
(
buf2
));
ok
(
!
ret2
||
ret1
==
ret2
/* vista */
,
"expected 0 or %u, got %u %s
\n
"
,
ret1
,
ret2
,
buf2
);
ok
(
!
ret2
||
ret1
==
ret2
||
/* vista */
broken
(
ret2
),
/* some win98 return user.exe as file name */
"expected 0 or %u, got %u %s
\n
"
,
ret1
,
ret2
,
buf2
);
}
}
...
...
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