Group: National Language Support - Library: kernel32
int GetUserDefaultLocaleName(
_Out_ LPWSTR lpLocaleName,
_In_ int cchLocaleName
);
DECLARE INTEGER GetUserDefaultLocaleName;
IN kernel32;
STRING @lpLocaleName,;
INTEGER cchLocaleName
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.
Returns the size of the buffer containing the locale name, including the terminating null character, if successful.
See also: GetSystemDefaultLocaleName, GetUserDefaultLCID