An EnumLocalesProc function is an application-defined callback function. It is called as a result of a call to the EnumSystemLocales function, and receives a pointer to a string buffer containing a locale identifier.
BOOL CALLBACK EnumLocalesProc(
LPTSTR lpLocaleString |
// pointer to locale identifier string |
); |
To continue enumeration, the callback function should return TRUE.
To stop enumeration, the callback function should return FALSE.
EnumLocalesProc is a placeholder for an application-defined function name.
An application registers an EnumLocalesProc function by passing its address to the EnumSystemLocales function.
A value of type LOCALE_ENUMPROC is a pointer to an EnumLocalesProc function.
See: