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
959a8420
Commit
959a8420
authored
Apr 27, 2006
by
Vitaly Lipatov
Committed by
Alexandre Julliard
May 05, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user: tests: Change INPUT to TEST_INPUT, fix union usage.
parent
c4eff1eb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
input.c
dlls/user/tests/input.c
+7
-7
No files found.
dlls/user/tests/input.c
View file @
959a8420
...
...
@@ -475,7 +475,7 @@ static LRESULT CALLBACK WndProc2(HWND hWnd, UINT Msg, WPARAM wParam,
static
void
test_Input_blackbox
(
void
)
{
INPUT
i
;
TEST_
INPUT
i
;
int
ii
;
BYTE
ks1
[
256
],
ks2
[
256
];
LONG_PTR
prevWndProc
;
...
...
@@ -495,16 +495,16 @@ static void test_Input_blackbox(void)
"error: %d
\n
"
,
(
int
)
GetLastError
());
i
.
type
=
INPUT_KEYBOARD
;
i
.
ki
.
wScan
=
0
;
i
.
ki
.
time
=
0
;
i
.
ki
.
dwExtraInfo
=
0
;
i
.
u
.
ki
.
wScan
=
0
;
i
.
u
.
ki
.
time
=
0
;
i
.
u
.
ki
.
dwExtraInfo
=
0
;
for
(
ii
=
0
;
ii
<
sizeof
(
sendinput_test
)
/
sizeof
(
struct
sendinput_test_s
)
-
1
;
ii
++
)
{
GetKeyboardState
(
ks1
);
i
.
ki
.
dwFlags
=
sendinput_test
[
ii
].
dwFlags
;
i
.
ki
.
wVk
=
sendinput_test
[
ii
].
wVk
;
SendInput
(
1
,
&
i
,
sizeof
(
INPUT
));
i
.
u
.
ki
.
dwFlags
=
sendinput_test
[
ii
].
dwFlags
;
i
.
u
.
ki
.
wVk
=
sendinput_test
[
ii
].
wVk
;
SendInput
(
1
,
(
INPUT
*
)
&
i
,
sizeof
(
TEST_
INPUT
));
empty_message_queue
();
GetKeyboardState
(
ks2
);
compare_and_check
(
ii
,
ks1
,
ks2
,
...
...
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