Platform SDK: International Features |
The EnumLocalesProc function is an application defined–callback function used with the EnumSystemLocales function. It receives a pointer to a buffer containing a locale identifier. The LOCALE_ENUMPROC type defines a pointer to this callback function. EnumLocalesProc is a placeholder for the application defined–function name.
BOOL CALLBACK EnumLocalesProc( LPTSTR lpLocaleString // locale identifier string );
To continue enumeration, the callback function should return TRUE.
To stop enumeration, the callback function should return FALSE.
An application registers an EnumLocalesProc function by passing its address to the EnumSystemLocales function.
Windows NT/2000: Requires Windows NT 3.1 or later.
Windows 95/98: Requires Windows 98.
Header: Declared in Winnls.h; include Windows.h.
National Language Support Overview, National Language Support Functions, EnumSystemLocales