IMultiLanguage::GetRfc1766Info method

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

Syntax

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

Parameters

  • Locale [in]
    The LCID that the caller wants information about.

  • pRfc1766Info [out]
    The address of the buffer that receives the RFC1766INFO structure.

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 from the system.

E_POINTER

An invalid pointer was specified.

E_INVALIDARG

One or more arguments are invalid.

Remarks

A caller uses this method to get a Windows-defined locale name and an RFC1766-conforming locale name, both of which correspond to the given LCID.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Header

Mlang.h

IDL

Mlang.idl

DLL

Mlang.dll

See also

IMultiLanguage

Reference

GetCharsetInfo

GetCodePageInfo