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
37901a65
Commit
37901a65
authored
May 02, 2008
by
ByeongSik Jeon
Committed by
Alexandre Julliard
May 02, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
imm32: Updated implementation of the ImmGetConversionList{A|W}.
parent
a45a07e4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
6 deletions
+30
-6
imm.c
dlls/imm32/imm.c
+30
-6
No files found.
dlls/imm32/imm.c
View file @
37901a65
...
...
@@ -1249,9 +1249,21 @@ DWORD WINAPI ImmGetConversionListA(
return
immHkl
->
pImeConversionList
(
hIMC
,(
LPCWSTR
)
pSrc
,
lpDst
,
dwBufLen
,
uFlag
);
else
{
FIXME
(
"A procedure called with W ime back end
\n
"
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
0
;
LPCANDIDATELIST
lpwDst
;
DWORD
ret
=
0
,
len
;
LPWSTR
pwSrc
=
strdupAtoW
(
pSrc
);
len
=
immHkl
->
pImeConversionList
(
hIMC
,
pwSrc
,
NULL
,
0
,
uFlag
);
lpwDst
=
HeapAlloc
(
GetProcessHeap
(),
0
,
len
);
if
(
lpwDst
)
{
immHkl
->
pImeConversionList
(
hIMC
,
pwSrc
,
lpwDst
,
len
,
uFlag
);
ret
=
convert_candidatelist_WtoA
(
lpwDst
,
lpDst
,
dwBufLen
);
HeapFree
(
GetProcessHeap
(),
0
,
lpwDst
);
}
HeapFree
(
GetProcessHeap
(),
0
,
pwSrc
);
return
ret
;
}
}
else
...
...
@@ -1275,9 +1287,21 @@ DWORD WINAPI ImmGetConversionListW(
return
immHkl
->
pImeConversionList
(
hIMC
,
pSrc
,
lpDst
,
dwBufLen
,
uFlag
);
else
{
FIXME
(
"W procedure called with A ime back end
\n
"
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
0
;
LPCANDIDATELIST
lpaDst
;
DWORD
ret
=
0
,
len
;
LPSTR
paSrc
=
strdupWtoA
(
pSrc
);
len
=
immHkl
->
pImeConversionList
(
hIMC
,
(
LPCWSTR
)
paSrc
,
NULL
,
0
,
uFlag
);
lpaDst
=
HeapAlloc
(
GetProcessHeap
(),
0
,
len
);
if
(
lpaDst
)
{
immHkl
->
pImeConversionList
(
hIMC
,
(
LPCWSTR
)
paSrc
,
lpaDst
,
len
,
uFlag
);
ret
=
convert_candidatelist_AtoW
(
lpaDst
,
lpDst
,
dwBufLen
);
HeapFree
(
GetProcessHeap
(),
0
,
lpaDst
);
}
HeapFree
(
GetProcessHeap
(),
0
,
paSrc
);
return
ret
;
}
}
else
...
...
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