GetLocaleInfoA Subroutine
Retrieves information relating to a specific locale.
Syntax
GetLocaleInfoA (Locale, LCType, lpLCData, cchData)
Properties
The GetLocaleInfoA subroutine syntax has these parts:
Part |
Description |
Locale |
Long. The locale ID from where you want to get information. |
LCType |
Long. The type of information to retrieve. Refer to the API32.TXT file for constants with the LOCALE_ prefix. |
lpLCData |
String. Buffer to load with the information. Make sure this string is initialized to the appropriate length. |
cchData |
Long. The length of the lpLCData buffer , or zero to get the buffer length. |
Return Value
Long. The number of characters loaded into the buffer. Zero on error.
Remarks
GetLocaleInfoA is a Windows API call.