This topic has not yet been rated - Rate this topic

IMultiLanguage2::GetLcidFromRfc1766

Windows Mobile 6.5
A version of this page is also available for
4/8/2010

This method retrieves the locale identifier (LCID) value corresponding to the given RFC1766-conforming name.


HRESULT GetLcidFromRfc1766( 
  LCID* pLocale,
  BSTR bstrRfc1766
);
pLocale

[out] Pointer to the buffer to receive the LCID.

bstrRfc1766

[in] RFC1766-conforming name for which the caller wants information.

The following table shows the possible return values for this method.

Value Description

S_OK

Success.

S_FALSE

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

E_FAIL

The method could not get the information from the database or the system.

E_INVALIDARG

One or more of the arguments are invalid.

A client uses this method to translate a human-readable locale name to a Windows-defined LCID.

Headermlang.h, mlang.idl
Librarymlang.dll
Windows Embedded CEWindows CE .NET 4.0 and later
Windows MobileWindows Mobile Version 5.0 and later
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.