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
7d2b7877
Commit
7d2b7877
authored
Feb 11, 2009
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Feb 12, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
imm32: Make space for a 64bit pointer in the IMM window.
parent
30f92964
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
imm.c
dlls/imm32/imm.c
+1
-1
ime.c
dlls/winex11.drv/ime.c
+2
-2
imm.h
include/ddk/imm.h
+1
-1
No files found.
dlls/imm32/imm.c
View file @
7d2b7877
...
...
@@ -2291,7 +2291,7 @@ BOOL WINAPI ImmSetOpenStatus(HIMC hIMC, BOOL fOpen)
data
->
imeWnd
=
CreateWindowExW
(
WS_EX_TOOLWINDOW
,
data
->
immKbd
->
imeClassName
,
NULL
,
WS_POPUP
,
0
,
0
,
1
,
1
,
0
,
0
,
data
->
immKbd
->
hIME
,
0
);
SetWindowLong
W
(
data
->
imeWnd
,
IMMGWL_IMC
,
(
LONG
)
data
);
SetWindowLong
PtrW
(
data
->
imeWnd
,
IMMGWL_IMC
,
(
LONG_PTR
)
data
);
IMM_GetThreadData
()
->
hwndDefault
=
data
->
imeWnd
;
}
...
...
dlls/winex11.drv/ime.c
View file @
7d2b7877
...
...
@@ -135,7 +135,7 @@ static void IME_RegisterClasses(void)
wndClass
.
style
=
CS_GLOBALCLASS
|
CS_IME
|
CS_HREDRAW
|
CS_VREDRAW
;
wndClass
.
lpfnWndProc
=
IME_WindowProc
;
wndClass
.
cbClsExtra
=
0
;
wndClass
.
cbWndExtra
=
2
*
sizeof
(
LONG
);
wndClass
.
cbWndExtra
=
2
*
sizeof
(
LONG
_PTR
);
wndClass
.
hInstance
=
x11drv_module
;
wndClass
.
hCursor
=
LoadCursorW
(
NULL
,
(
LPWSTR
)
IDC_ARROW
);
wndClass
.
hIcon
=
LoadIconW
(
NULL
,
(
LPWSTR
)
IDI_APPLICATION
);
...
...
@@ -1326,7 +1326,7 @@ static LRESULT WINAPI IME_WindowProc(HWND hwnd, UINT msg, WPARAM wParam,
* messages.
*/
hIMC
=
(
HIMC
)
GetWindowLongW
(
hwnd
,
IMMGWL_IMC
);
hIMC
=
(
HIMC
)
GetWindowLong
Ptr
W
(
hwnd
,
IMMGWL_IMC
);
if
(
!
hIMC
)
hIMC
=
RealIMC
(
FROM_X11
);
...
...
include/ddk/imm.h
View file @
7d2b7877
...
...
@@ -114,7 +114,7 @@ HIMCC WINAPI ImmReSizeIMCC(HIMCC, DWORD);
DWORD
WINAPI
ImmGetIMCCSize
(
HIMCC
);
#define IMMGWL_IMC 0
#define IMMGWL_PRIVATE (sizeof(LONG))
#define IMMGWL_PRIVATE (sizeof(LONG
_PTR
))
/* IME Property bits */
#define IME_PROP_END_UNLOAD 0x0001
...
...
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