Group: National Language Support - Library: kernel32
Saving available locale records into a cursor
int GetLocaleInfo(
LCID Locale, // locale identifier
LCTYPE LCType, // information type
LPTSTR lpLCData, // information buffer
int cchData // size of buffer
);
DECLARE INTEGER GetLocaleInfo IN kernel32;
INTEGER Locale,;
INTEGER LCType,;
STRING @ lpLCData,;
INTEGER cchData
Locale [in] Specifies the locale to retrieve information for.
LCType [in] Specifies the type of locale information to be retrieved, by using an LCTYPE constant.
lpLCData [out] Pointer to a buffer that receives the requested data.
cchData [in] Specifies the size, in TCHARs, of the lpLCData buffer.
If the function succeeds, the return value is the number of TCHARs written to the destination buffer.
The GetLocaleInfo function always retrieves information in text format.