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
f51542d9
Commit
f51542d9
authored
Apr 14, 2008
by
Aric Stewart
Committed by
Alexandre Julliard
Apr 14, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Call ImmProcessKey in TranslateMessage to allow IMEs to handle key…
user32: Call ImmProcessKey in TranslateMessage to allow IMEs to handle key processing if they choose to.
parent
d20d374f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
message.c
dlls/user32/message.c
+4
-0
imm.h
include/imm.h
+1
-0
No files found.
dlls/user32/message.c
View file @
f51542d9
...
...
@@ -35,6 +35,7 @@
#include "winnls.h"
#include "dbt.h"
#include "dde.h"
#include "imm.h"
#include "wine/unicode.h"
#include "wine/server.h"
#include "user_private.h"
...
...
@@ -2994,6 +2995,9 @@ BOOL WINAPI TranslateMessage( const MSG *msg )
TRACE_
(
key
)(
"Translating key %s (%04lx), scancode %02x
\n
"
,
SPY_GetVKeyName
(
msg
->
wParam
),
msg
->
wParam
,
LOBYTE
(
HIWORD
(
msg
->
lParam
)));
if
(
ImmProcessKey
(
msg
->
hwnd
,
GetKeyboardLayout
(
0
),
msg
->
wParam
,
msg
->
lParam
,
0
))
return
TRUE
;
GetKeyboardState
(
state
);
/* FIXME : should handle ToUnicode yielding 2 */
switch
(
ToUnicode
(
msg
->
wParam
,
HIWORD
(
msg
->
lParam
),
state
,
wp
,
2
,
0
))
...
...
include/imm.h
View file @
f51542d9
...
...
@@ -538,6 +538,7 @@ BOOL WINAPI ImmIsUIMessageA(HWND, UINT, WPARAM, LPARAM);
BOOL
WINAPI
ImmIsUIMessageW
(
HWND
,
UINT
,
WPARAM
,
LPARAM
);
#define ImmIsUIMessage WINELIB_NAME_AW(ImmIsUIMessage)
BOOL
WINAPI
ImmNotifyIME
(
HIMC
,
DWORD
,
DWORD
,
DWORD
);
BOOL
WINAPI
ImmProcessKey
(
HWND
,
HKL
,
UINT
,
LPARAM
,
DWORD
);
BOOL
WINAPI
ImmRegisterWordA
(
HKL
,
LPCSTR
,
DWORD
,
LPCSTR
);
BOOL
WINAPI
ImmRegisterWordW
(
HKL
,
LPCWSTR
,
DWORD
,
LPCWSTR
);
#define ImmRegisterWord WINELIB_NAME_AW(ImmRegisterWord)
...
...
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