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,
|
LCID lcid,
|
||||||
BSTR* pbstrRfc1766)
|
BSTR* pbstrRfc1766)
|
||||||
{
|
{
|
||||||
WCHAR buf[MAX_RFC1766_NAME];
|
MLang_impl *This = impl_from_IMultiLanguage(iface);
|
||||||
|
return IMultiLanguage3_GetRfc1766FromLcid(&This->IMultiLanguage3_iface, lcid, pbstrRfc1766);
|
||||||
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;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI fnIMultiLanguage_GetLcidFromRfc1766(
|
static HRESULT WINAPI fnIMultiLanguage_GetLcidFromRfc1766(
|
||||||
|
|
Loading…
Reference in New Issue