Skip to content

Latest commit

 

History

History
50 lines (33 loc) · 1 KB

LocaleNameToLCID.md

File metadata and controls

50 lines (33 loc) · 1 KB

Home

Function name : LocaleNameToLCID

Group: National Language Support - Library: kernel32


Converts a locale name to a locale identifier.


Declaration:

LCID LocaleNameToLCID(
  _In_  LPCWSTR lpName,
  _In_  DWORD dwFlags
);
  

FoxPro declaration:

DECLARE INTEGER LocaleNameToLCID IN kernel32;
	STRING lpName,;
	INTEGER dwFlags  

Parameters:

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.


Return value:

Returns the locale identifier corresponding to the locale name if successful.


Comments:

See also: LCIDToLocaleName, GetUserDefaultLocaleName.