Rfc1766ToLcid function
[Rfc1766ToLcid is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions. Instead, use LocaleNameToLCID or DownlevelLocaleNameToLCID. ]
Translates a conforming RFC-1766 name to a locale identifier (LCID) value.
Syntax
HRESULT Rfc1766ToLcid(
LCID *pLocale,
LPTSTR pszRfc1766
);
Parameters
pLocale
A pointer to the buffer that receives the LCID.pszRfc1766
A pointer to a string that contains the conforming RFC-1766 name for which the caller wants information.
Return value
If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
Minimum supported client |
Windows XP |
Minimum supported server |
Windows 2000 Server |
Header |
Mlang.h |
DLL |
Mlang.dll |
Unicode and ANSI names |
Rfc1766ToLcidW (Unicode) and Rfc1766ToLcidA (ANSI) |