IMultiLanguage2::GetLcidFromRfc1766 method
Gets the locale identifier value (LCID) corresponding to the given RFC1766-conforming name.
Syntax
HRESULT GetLcidFromRfc1766(
[out] LCID *pLocale,
[in] BSTR bstrRfc1766
);
Parameters
- pLocale [out]
-
A pointer to the buffer to receive the LCID.
- bstrRfc1766 [in]
-
The RFC1766-conforming name for which the caller wants information.
Return value
Returns one of the following values.
| Return code | Description |
|---|---|
|
Success. |
|
The returned LCID matches only the primary language of the RFC1766-conforming name. |
|
The method cannot get the information from the database or the system. |
|
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 |
|
|
IDL |
|
|
DLL |
|
See also