Skip to content

Latest commit

 

History

History
51 lines (34 loc) · 951 Bytes

GetUserDefaultLocaleName.md

File metadata and controls

51 lines (34 loc) · 951 Bytes

Home

Function name : GetUserDefaultLocaleName

Group: National Language Support - Library: kernel32


Retrieves the user default locale name.


Declaration:

int GetUserDefaultLocaleName(
  _Out_  LPWSTR lpLocaleName,
  _In_   int cchLocaleName
);  

FoxPro declaration:

DECLARE INTEGER GetUserDefaultLocaleName;
IN kernel32;
	STRING @lpLocaleName,;
	INTEGER cchLocaleName
  

Parameters:

lpLocaleName [out] Pointer to a buffer in which this function retrieves the locale name.

cchLocaleName [in] Size, in characters, of the buffer indicated by lpLocaleName.


Return value:

Returns the size of the buffer containing the locale name, including the terminating null character, if successful.


Comments:

See also: GetSystemDefaultLocaleName, GetUserDefaultLCID