Re: mlang: implementation of base functionality ofIMultiLanguage2::ValidateCodePageand IMultiLanguage2::ValidateCodePageEx
24 Jan
2009
24 Jan
'09
7:10 a.m.
"Aric Stewart" <aric(a)codeweavers.com> wrote:
@@ -2990,7 +2989,13 @@ static HRESULT WINAPI fnIMultiLanguage2_ValidateCodePageEx( DWORD dwfIODControl) { ICOM_THIS_MULTI(MLang_impl, vtbl_IMultiLanguage3, iface); - FIXME("%p %u %p %08x: stub!\n", This, uiCodePage, hwnd, dwfIODControl); + + TRACE("%p %u %p %08x\n", This, uiCodePage, hwnd, dwfIODControl); + if (IsValidCodePage(uiCodePage)) + return S_OK; + + if (dwfIODControl != CPIOD_PEEK) + FIXME("Request to install codepage language pack not handled\n");
return S_FALSE; }
IsValidCodePage() covers only kernel32 supported code pages, you probably need to follow what GetCodePageDescription() does and use internal mlang data. -- Dmitry.
6168
Age (days ago)
6168
Last active (days ago)
0 comments
1 participants
participants (1)
-
Dmitry Timoshkov