Share via


IMultiLanguage2::GetRfc1766Info method

Gets an RFC1766INFO structure that corresponds to the given locale identifier (LCID) value.

Syntax

HRESULT GetRfc1766Info(
  [in]  LCID         Locale,
  [in]  LANGID       LangId,
  [out] PRFC1766INFO pRfc1766Info
);

Parameters

  • Locale [in]
    The locale identifier that specifies the locale.

  • LangId [in]
    A LANGID that specifies the language.

  • pRfc1766Info [out]
    A pointer to the RFC1766INFO structure that receives the information.

Return value

Returns one of the following values.

Return code Description
S_OK

Success.

E_FAIL

The method cannot get the information from the database or the system.

E_POINTER

An invalid pointer was specified.

E_INVALIDARG

One or more arguments are invalid.

 

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Header

Mlang.h

IDL

Mlang.idl

DLL

Mlang.dll

See also

IMultiLanguage2