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
c82aa505
Commit
c82aa505
authored
Nov 29, 2010
by
Austin Lund
Committed by
Alexandre Julliard
Nov 29, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32/tests: Fix test failures by disabling IME when testing unicode input.
parent
5d95857c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
input.c
dlls/user32/tests/input.c
+12
-0
No files found.
dlls/user32/tests/input.c
View file @
c82aa505
...
...
@@ -1139,6 +1139,8 @@ static void test_Input_unicode(void)
WNDCLASSW
wclass
;
HANDLE
hInstance
=
GetModuleHandleW
(
NULL
);
HHOOK
hook
;
HMODULE
hModuleImm32
;
BOOL
(
WINAPI
*
pImmDisableIME
)(
DWORD
);
wclass
.
lpszClassName
=
classNameW
;
wclass
.
style
=
CS_HREDRAW
|
CS_VREDRAW
;
...
...
@@ -1154,6 +1156,16 @@ static void test_Input_unicode(void)
win_skip
(
"Unicode functions not supported
\n
"
);
return
;
}
hModuleImm32
=
LoadLibrary
(
"imm32.dll"
);
if
(
hModuleImm32
)
{
pImmDisableIME
=
(
void
*
)
GetProcAddress
(
hModuleImm32
,
"ImmDisableIME"
);
if
(
pImmDisableIME
)
pImmDisableIME
(
0
);
}
pImmDisableIME
=
NULL
;
FreeLibrary
(
hModuleImm32
);
/* create the test window that will receive the keystrokes */
hWndTest
=
CreateWindowW
(
wclass
.
lpszClassName
,
windowNameW
,
WS_OVERLAPPEDWINDOW
,
CW_USEDEFAULT
,
0
,
100
,
100
,
...
...
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