mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 11:43:31 +00:00
mlang: Implement IMultiLanguage::GetCodePageInfo.
This commit is contained in:
parent
97b122c03f
commit
4275a093c1
1 changed files with 18 additions and 2 deletions
|
@ -1497,8 +1497,24 @@ static HRESULT WINAPI fnIMultiLanguage_GetCodePageInfo(
|
|||
UINT uiCodePage,
|
||||
PMIMECPINFO pCodePageInfo)
|
||||
{
|
||||
FIXME("\n");
|
||||
return E_NOTIMPL;
|
||||
UINT i, n;
|
||||
|
||||
ICOM_THIS_MULTI(MLang_impl, vtbl_IMultiLanguage, iface);
|
||||
TRACE("%p, %u, %p\n", This, uiCodePage, pCodePageInfo);
|
||||
|
||||
for (i = 0; i < sizeof(mlang_data)/sizeof(mlang_data[0]); i++)
|
||||
{
|
||||
for (n = 0; n < mlang_data[i].number_of_cp; n++)
|
||||
{
|
||||
if (mlang_data[i].mime_cp_info[n].cp == uiCodePage)
|
||||
{
|
||||
fill_cp_info(&mlang_data[i], n, pCodePageInfo);
|
||||
return S_OK;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return S_FALSE;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI fnIMultiLanguage_GetFamilyCodePage(
|
||||
|
|
Loading…
Reference in a new issue