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
c0901b89
Commit
c0901b89
authored
Apr 28, 2006
by
Vitaly Lipatov
Committed by
Alexandre Julliard
May 07, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mlang: Partially implemented ConvertStringEx.
parent
256d0c0b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
2 deletions
+25
-2
mlang.c
dlls/mlang/mlang.c
+25
-2
No files found.
dlls/mlang/mlang.c
View file @
c0901b89
...
...
@@ -2113,6 +2113,9 @@ static HRESULT WINAPI fnIMultiLanguage2_ConvertStringInIStream(
return
E_NOTIMPL
;
}
/*
* TODO: handle dwFlag and lpFallBack
*/
static
HRESULT
WINAPI
fnIMultiLanguage2_ConvertStringToUnicodeEx
(
IMultiLanguage2
*
iface
,
DWORD
*
pdwMode
,
...
...
@@ -2125,9 +2128,28 @@ static HRESULT WINAPI fnIMultiLanguage2_ConvertStringToUnicodeEx(
WCHAR
*
lpFallBack
)
{
FIXME
(
"
\n
"
);
return
E_NOTIMPL
;
return
ConvertINetMultiByteToUnicode
(
pdwMode
,
dwEncoding
,
pSrcStr
,
(
LPINT
)
pcSrcSize
,
pDstStr
,
(
LPINT
)
pcDstSize
);
}
/*****************************************************************************
* MultiLanguage2::ConvertStringToUnicodeEx
*
* Translates the multibyte string from the specified code page to Unicode.
*
* PARAMS
* see ConvertStringToUnicode
* dwFlag
* lpFallBack if dwFlag contains MLCONVCHARF_USEDEFCHAR, lpFallBack string used
* instead unconvertible characters.
*
* RETURNS
* S_OK Success.
* S_FALSE The conversion is not supported.
* E_FAIL Some error has occurred.
*
* TODO: handle dwFlag and lpFallBack
*/
static
HRESULT
WINAPI
fnIMultiLanguage2_ConvertStringFromUnicodeEx
(
IMultiLanguage2
*
This
,
DWORD
*
pdwMode
,
...
...
@@ -2140,7 +2162,8 @@ static HRESULT WINAPI fnIMultiLanguage2_ConvertStringFromUnicodeEx(
WCHAR
*
lpFallBack
)
{
FIXME
(
"
\n
"
);
return
E_NOTIMPL
;
return
ConvertINetUnicodeToMultiByte
(
pdwMode
,
dwEncoding
,
pSrcStr
,
(
LPINT
)
pcSrcSize
,
pDstStr
,
(
LPINT
)
pcDstSize
);
}
static
HRESULT
WINAPI
fnIMultiLanguage2_DetectCodepageInIStream
(
...
...
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