mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 04:39:45 +00:00
mlang: Forward GetRfc1766FromLcid() to IMultiLanguage3 implementation.
This commit is contained in:
parent
55d87c050c
commit
42db7e4c1d
@ -2187,18 +2187,8 @@ static HRESULT WINAPI fnIMultiLanguage_GetRfc1766FromLcid(
|
||||
LCID lcid,
|
||||
BSTR* pbstrRfc1766)
|
||||
{
|
||||
WCHAR buf[MAX_RFC1766_NAME];
|
||||
|
||||
TRACE("%p %04x %p\n", iface, lcid, pbstrRfc1766);
|
||||
if (!pbstrRfc1766)
|
||||
return E_INVALIDARG;
|
||||
|
||||
if (!lcid_to_rfc1766W( lcid, buf, MAX_RFC1766_NAME ))
|
||||
{
|
||||
*pbstrRfc1766 = SysAllocString( buf );
|
||||
return S_OK;
|
||||
}
|
||||
return E_FAIL;
|
||||
MLang_impl *This = impl_from_IMultiLanguage(iface);
|
||||
return IMultiLanguage3_GetRfc1766FromLcid(&This->IMultiLanguage3_iface, lcid, pbstrRfc1766);
|
||||
}
|
||||
|
||||
static HRESULT WINAPI fnIMultiLanguage_GetLcidFromRfc1766(
|
||||
|
Loading…
Reference in New Issue
Block a user