Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IMultiLanguage::GetLcidFromRfc1766 method

Gets the locale identifier value (LCID) that corresponds to the given RFC1766-conforming name.

Syntax


HRESULT GetLcidFromRfc1766(
  [out] LCID *pLocale,
  [in]  BSTR bstrRfc1766
);

Parameters

pLocale [out]

The address of the buffer to receive the LCID.

bstrRfc1766 [in]

The RFC1766-conforming name that the caller wants information about.

Return value

Returns one of the following values.

Return codeDescription
S_OK

Success.

S_FALSE

The returned LCID matches the primary language of the RFC1766-conforming name only.

E_FAIL

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

E_INVALIDARG

One or more of the arguments are invalid.

 

Remarks

A client uses this method to translate a human-readable locale name to a Windows-defined 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
GetRfc1766FromLcid
GetRfc1766Info
RFC1766INFO

 

 

Show:
© 2016 Microsoft