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
5818a0e7
Commit
5818a0e7
authored
Apr 09, 2008
by
Aric Stewart
Committed by
Alexandre Julliard
Apr 09, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
imm32: Semi-stub implement ImmEnumRegisterWord using loaded IME.
parent
8ba66c0c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
14 deletions
+34
-14
imm.c
dlls/imm32/imm.c
+34
-14
No files found.
dlls/imm32/imm.c
View file @
5818a0e7
...
...
@@ -576,13 +576,23 @@ UINT WINAPI ImmEnumRegisterWordA(
LPCSTR
lpszReading
,
DWORD
dwStyle
,
LPCSTR
lpszRegister
,
LPVOID
lpData
)
{
FIXME
(
"(%p, %p, %s, %d, %s, %p): stub
\n
"
,
hKL
,
lpfnEnumProc
,
debugstr_a
(
lpszReading
),
dwStyle
,
debugstr_a
(
lpszRegister
),
lpData
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
0
;
ImmHkl
*
immHkl
=
IMM_GetImmHkl
(
hKL
);
TRACE
(
"(%p, %p, %s, %d, %s, %p):
\n
"
,
hKL
,
lpfnEnumProc
,
debugstr_a
(
lpszReading
),
dwStyle
,
debugstr_a
(
lpszRegister
),
lpData
);
if
(
immHkl
->
hIME
&&
immHkl
->
pImeEnumRegisterWord
)
{
if
(
!
is_kbd_ime_unicode
(
immHkl
))
return
immHkl
->
pImeEnumRegisterWord
((
REGISTERWORDENUMPROCW
)
lpfnEnumProc
,
(
LPCWSTR
)
lpszReading
,
dwStyle
,
(
LPCWSTR
)
lpszRegister
,
lpData
);
else
{
FIXME
(
"A procedure called with W ime back end
\n
"
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
0
;
}
}
else
return
0
;
}
/***********************************************************************
...
...
@@ -593,13 +603,23 @@ UINT WINAPI ImmEnumRegisterWordW(
LPCWSTR
lpszReading
,
DWORD
dwStyle
,
LPCWSTR
lpszRegister
,
LPVOID
lpData
)
{
FIXME
(
"(%p, %p, %s, %d, %s, %p): stub
\n
"
,
hKL
,
lpfnEnumProc
,
debugstr_w
(
lpszReading
),
dwStyle
,
debugstr_w
(
lpszRegister
),
lpData
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
0
;
ImmHkl
*
immHkl
=
IMM_GetImmHkl
(
hKL
);
TRACE
(
"(%p, %p, %s, %d, %s, %p):
\n
"
,
hKL
,
lpfnEnumProc
,
debugstr_w
(
lpszReading
),
dwStyle
,
debugstr_w
(
lpszRegister
),
lpData
);
if
(
immHkl
->
hIME
&&
immHkl
->
pImeEnumRegisterWord
)
{
if
(
is_kbd_ime_unicode
(
immHkl
))
return
immHkl
->
pImeEnumRegisterWord
(
lpfnEnumProc
,
lpszReading
,
dwStyle
,
lpszRegister
,
lpData
);
else
{
FIXME
(
"W procedure called with A ime back end
\n
"
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
0
;
}
}
else
return
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