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
8660795a
Commit
8660795a
authored
Nov 30, 2004
by
Jon Griffiths
Committed by
Alexandre Julliard
Nov 30, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
GetModuleHandleA->GetModuleHandleW.
parent
b9aba914
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
defwnd.c
windows/defwnd.c
+3
-4
No files found.
windows/defwnd.c
View file @
8660795a
...
...
@@ -50,6 +50,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(win);
static
short
iF10Key
=
0
;
static
short
iMenuSysKey
=
0
;
static
const
WCHAR
imm32W
[]
=
{
'i'
,
'm'
,
'm'
,
'3'
,
'2'
,
'\0'
};
/***********************************************************************
* DEFWND_HandleWindowPosChanged
...
...
@@ -261,7 +262,7 @@ static void DEFWND_Print( HWND hwnd, HDC hdc, ULONG uFlags)
*/
static
HWND
DEFWND_ImmGetDefaultIMEWnd
(
HWND
hwnd
)
{
HINSTANCE
hInstIMM
=
GetModuleHandle
A
(
"imm32"
);
HINSTANCE
hInstIMM
=
GetModuleHandle
W
(
imm32W
);
HWND
(
WINAPI
*
pFunc
)(
HWND
);
HWND
hwndRet
=
0
;
...
...
@@ -280,7 +281,7 @@ static HWND DEFWND_ImmGetDefaultIMEWnd( HWND hwnd )
static
BOOL
DEFWND_ImmIsUIMessageA
(
HWND
hwndIME
,
UINT
msg
,
WPARAM
wParam
,
LPARAM
lParam
)
{
HINSTANCE
hInstIMM
=
GetModuleHandle
A
(
"imm32"
);
HINSTANCE
hInstIMM
=
GetModuleHandle
W
(
imm32W
);
BOOL
(
WINAPI
*
pFunc
)(
HWND
,
UINT
,
WPARAM
,
LPARAM
);
BOOL
fRet
=
FALSE
;
...
...
@@ -299,8 +300,6 @@ static BOOL DEFWND_ImmIsUIMessageA( HWND hwndIME, UINT msg, WPARAM wParam, LPARA
static
BOOL
DEFWND_ImmIsUIMessageW
(
HWND
hwndIME
,
UINT
msg
,
WPARAM
wParam
,
LPARAM
lParam
)
{
static
const
WCHAR
imm32W
[]
=
{
'i'
,
'm'
,
'm'
,
'3'
,
'2'
,
0
};
HINSTANCE
hInstIMM
=
GetModuleHandleW
(
imm32W
);
BOOL
(
WINAPI
*
pFunc
)(
HWND
,
UINT
,
WPARAM
,
LPARAM
);
BOOL
fRet
=
FALSE
;
...
...
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