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
ed42bf08
Commit
ed42bf08
authored
Sep 24, 2012
by
Nikolay Sivov
Committed by
Alexandre Julliard
Sep 24, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mlang: Store source and destination codepage ids in IMLangConvertCharset_Initialize.
parent
f5edf34c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
2 deletions
+24
-2
mlang.c
dlls/mlang/mlang.c
+13
-2
mlang.idl
include/mlang.idl
+11
-0
No files found.
dlls/mlang/mlang.c
View file @
ed42bf08
...
...
@@ -3563,6 +3563,9 @@ static const IMLangLineBreakConsoleVtbl IMLangLineBreakConsole_vtbl =
struct
convert_charset
{
IMLangConvertCharset
IMLangConvertCharset_iface
;
LONG
ref
;
UINT
src_cp
;
UINT
dst_cp
;
};
static
inline
struct
convert_charset
*
impl_from_IMLangConvertCharset
(
IMLangConvertCharset
*
iface
)
...
...
@@ -3614,8 +3617,16 @@ static HRESULT WINAPI MLangConvertCharset_Initialize(IMLangConvertCharset *iface
UINT
src_cp
,
UINT
dst_cp
,
DWORD
prop
)
{
struct
convert_charset
*
This
=
impl_from_IMLangConvertCharset
(
iface
);
FIXME
(
"(%p)->(%u %u 0x%08x): stub
\n
"
,
This
,
src_cp
,
dst_cp
,
prop
);
return
E_NOTIMPL
;
TRACE
(
"(%p)->(%u %u 0x%08x)
\n
"
,
This
,
src_cp
,
dst_cp
,
prop
);
if
(
prop
)
FIXME
(
"property 0x%08x not supported
\n
"
,
prop
);
This
->
src_cp
=
src_cp
;
This
->
dst_cp
=
dst_cp
;
return
S_OK
;
}
static
HRESULT
WINAPI
MLangConvertCharset_GetSourceCodePage
(
IMLangConvertCharset
*
iface
,
UINT
*
src_cp
)
...
...
include/mlang.idl
View file @
ed42bf08
...
...
@@ -375,6 +375,17 @@ interface IEnumCodePage : IUnknown
]
interface
IMLangConvertCharset
:
IUnknown
{
typedef
enum
tagMLCONVCHARF
{
MLCONVCHARF_AUTODETECT
=
1
,
MLCONVCHARF_ENTITIZE
=
2
,
MLCONVCHARF_NCR_ENTITIZE
=
2
,
MLCONVCHARF_NAME_ENTITIZE
=
4
,
MLCONVCHARF_USEDEFCHAR
=
8
,
MLCONVCHARF_NOBESTFITCHARS
=
16
,
MLCONVCHARF_DETECTJPN
=
32
}
MLCONVCHAR
;
HRESULT
Initialize
(
[
in
]
UINT
uiSrcCodePage
,
[
in
]
UINT
uiDstCodePage
,
...
...
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