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
4398c51f
Commit
4398c51f
authored
Nov 27, 2008
by
Vitaly Perov
Committed by
Alexandre Julliard
Nov 28, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mlang: Add implementation of fnIMLangFontLink_GetCharCodePages.
parent
c6855480
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
2 deletions
+21
-2
mlang.c
dlls/mlang/mlang.c
+21
-2
No files found.
dlls/mlang/mlang.c
View file @
4398c51f
...
...
@@ -1853,8 +1853,27 @@ static HRESULT WINAPI fnIMLangFontLink_GetCharCodePages(
WCHAR
chSrc
,
DWORD
*
pdwCodePages
)
{
FIXME
(
"
\n
"
);
return
E_NOTIMPL
;
int
i
;
CHAR
buf
;
BOOL
used_dc
;
DWORD
codePages
;
*
pdwCodePages
=
0
;
for
(
i
=
0
;
i
<
sizeof
(
mlang_data
)
/
sizeof
(
mlang_data
[
0
]);
i
++
)
{
WideCharToMultiByte
(
mlang_data
[
i
].
family_codepage
,
WC_NO_BEST_FIT_CHARS
,
&
chSrc
,
1
,
&
buf
,
1
,
NULL
,
&
used_dc
);
/* If default char is not used, current codepage include the given symbol */
if
(
!
used_dc
)
{
IMLangFontLink_CodePageToCodePages
(
iface
,
mlang_data
[
i
].
family_codepage
,
&
codePages
);
*
pdwCodePages
|=
codePages
;
}
}
return
S_OK
;
}
static
HRESULT
WINAPI
fnIMLangFontLink_GetStrCodePages
(
...
...
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