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
0c78cfce
Commit
0c78cfce
authored
Aug 12, 2022
by
Zhiyi Zhang
Committed by
Alexandre Julliard
Aug 18, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32/tests: Link directly to imm32.
Signed-off-by:
Zhiyi Zhang
<
zzhang@codeweavers.com
>
parent
2a5cf1b6
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
22 deletions
+5
-22
Makefile.in
dlls/user32/tests/Makefile.in
+1
-1
input.c
dlls/user32/tests/input.c
+2
-10
msg.c
dlls/user32/tests/msg.c
+2
-11
No files found.
dlls/user32/tests/Makefile.in
View file @
0c78cfce
TESTDLL
=
user32.dll
IMPORTS
=
user32 gdi32 advapi32 hid
IMPORTS
=
user32 gdi32 advapi32 hid
imm32
C_SRCS
=
\
broadcast.c
\
...
...
dlls/user32/tests/input.c
View file @
0c78cfce
...
...
@@ -55,6 +55,7 @@
#include "winnls.h"
#include "winreg.h"
#include "ddk/hidsdi.h"
#include "imm.h"
#include "wine/test.h"
...
...
@@ -1188,8 +1189,6 @@ static void test_Input_unicode(void)
WNDCLASSW
wclass
;
HANDLE
hInstance
=
GetModuleHandleW
(
NULL
);
HHOOK
hook
;
HMODULE
hModuleImm32
;
BOOL
(
WINAPI
*
pImmDisableIME
)(
DWORD
);
BOOL
us_kbd
=
(
GetKeyboardLayout
(
0
)
==
(
HKL
)(
ULONG_PTR
)
0x04090409
);
if
(
!
us_kbd
)
{
...
...
@@ -1212,14 +1211,7 @@ static void test_Input_unicode(void)
return
;
}
hModuleImm32
=
LoadLibraryA
(
"imm32.dll"
);
if
(
hModuleImm32
)
{
pImmDisableIME
=
(
void
*
)
GetProcAddress
(
hModuleImm32
,
"ImmDisableIME"
);
if
(
pImmDisableIME
)
pImmDisableIME
(
0
);
}
pImmDisableIME
=
NULL
;
FreeLibrary
(
hModuleImm32
);
ImmDisableIME
(
0
);
/* create the test window that will receive the keystrokes */
hWndTest
=
CreateWindowW
(
wclass
.
lpszClassName
,
windowNameW
,
...
...
dlls/user32/tests/msg.c
View file @
0c78cfce
...
...
@@ -32,6 +32,7 @@
#include "winnls.h"
#include "dbt.h"
#include "commctrl.h"
#include "imm.h"
#include "wine/test.h"
...
...
@@ -18794,8 +18795,6 @@ START_TEST(msg)
char
**
test_argv
;
BOOL
ret
;
BOOL
(
WINAPI
*
pIsWinEventHookInstalled
)(
DWORD
)
=
0
;
/*GetProcAddress(user32, "IsWinEventHookInstalled");*/
HMODULE
hModuleImm32
;
BOOL
(
WINAPI
*
pImmDisableIME
)(
DWORD
);
int
argc
;
argc
=
winetest_get_mainargs
(
&
test_argv
);
...
...
@@ -18810,15 +18809,7 @@ START_TEST(msg)
InitializeCriticalSection
(
&
sequence_cs
);
init_procs
();
hModuleImm32
=
LoadLibraryA
(
"imm32.dll"
);
if
(
hModuleImm32
)
{
pImmDisableIME
=
(
void
*
)
GetProcAddress
(
hModuleImm32
,
"ImmDisableIME"
);
if
(
pImmDisableIME
)
pImmDisableIME
(
0
);
}
pImmDisableIME
=
NULL
;
FreeLibrary
(
hModuleImm32
);
ImmDisableIME
(
0
);
if
(
!
RegisterWindowClasses
())
assert
(
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