Group: National Language Support - Library: kernel32
LCID LocaleNameToLCID(
_In_ LPCWSTR lpName,
_In_ DWORD dwFlags
);
DECLARE INTEGER LocaleNameToLCID IN kernel32;
STRING lpName,;
INTEGER dwFlags
lpName [in] Pointer to a null-terminated string representing a locale name, or one of predefined values.
dwFlags [in] Prior to Windows 7: Reserved; should always be 0.
Returns the locale identifier corresponding to the locale name if successful.
See also: LCIDToLocaleName, GetUserDefaultLocaleName.