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
1eece6ee
Commit
1eece6ee
authored
Apr 16, 2008
by
Aric Stewart
Committed by
Alexandre Julliard
Apr 17, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
imm32: Create the IME UI window with the IME instance so the registered class can be found.
parent
51175319
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
imm.c
dlls/imm32/imm.c
+2
-4
No files found.
dlls/imm32/imm.c
View file @
1eece6ee
...
...
@@ -92,7 +92,6 @@ typedef struct _tagIMMThreadData {
HWND
hwndDefault
;
}
IMMThreadData
;
static
HANDLE
hImeInst
;
static
DWORD
tlsIndex
=
0
;
static
struct
list
ImmHklList
=
LIST_INIT
(
ImmHklList
);
...
...
@@ -294,7 +293,6 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpReserved)
switch
(
fdwReason
)
{
case
DLL_PROCESS_ATTACH
:
hImeInst
=
hInstDLL
;
IMM_RegisterMessages
();
tlsIndex
=
TlsAlloc
();
IMM_InitThreadData
();
...
...
@@ -1800,8 +1798,8 @@ BOOL WINAPI ImmSetOpenStatus(HIMC hIMC, BOOL fOpen)
{
/* create the ime window */
data
->
imeWnd
=
CreateWindowExW
(
WS_EX_TOOLWINDOW
,
data
->
immKbd
->
imeClassName
,
NULL
,
WS_POPUP
,
0
,
0
,
1
,
1
,
0
,
0
,
hImeInst
,
0
);
data
->
immKbd
->
imeClassName
,
NULL
,
WS_POPUP
,
0
,
0
,
1
,
1
,
0
,
0
,
data
->
immKbd
->
hIME
,
0
);
SetWindowLongW
(
data
->
imeWnd
,
IMMGWL_IMC
,
(
LONG
)
data
);
IMM_GetThreadData
()
->
hwndDefault
=
data
->
imeWnd
;
}
...
...
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