Group: National Language Support - Library: kernel32
int LCIDToLocaleName(
_In_ LCID Locale,
_Out_opt_ LPWSTR lpName,
_In_ int cchName,
_In_ DWORD dwFlags
);
DECLARE INTEGER LCIDToLocaleName IN kernel32;
INTEGER nLocale,;
STRING @lpName,;
INTEGER cchName,;
INTEGER dwFlags
Locale [in] Locale identifier to translate.
lpName [out, optional] Pointer to a buffer in which this function retrieves the locale name, or one of predefined values.
cchName [in] Size, in characters, of the locale name buffer.
dwFlags [in] Before Windows 7: Reserved; should always be 0.
Returns the count of characters, including the terminating null character, in the locale name if successful.
See also: LocaleNameToLCID, GetUserDefaultLCID