Skip to content

Latest commit

 

History

History
52 lines (34 loc) · 1.13 KB

File metadata and controls

52 lines (34 loc) · 1.13 KB

Home

Function name : GetSystemDefaultLocaleName

Group: National Language Support - Library: kernel32


Retrieves the system default locale name.


Declaration:

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

FoxPro declaration:

DECLARE INTEGER GetSystemDefaultLocaleName;
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 output buffer indicated by lpLocaleName.


Return value:

Returns a value greater than 0 that indicates the length of the locale name, including the terminating null character, if successful.


Comments:

See also: GetUserDefaultLocaleName, GetSystemDefaultLCID.