This topic has not yet been rated - Rate this topic

EnumLocalesProc callback function

Applies to: desktop apps only

An application-defined callback function that processes enumerated locale information provided by the EnumSystemLocales function. The LOCALE_ENUMPROC type defines a pointer to this callback function. EnumLocalesProc is a placeholder for the application-defined function name.

Syntax

BOOL CALLBACK EnumLocalesProc(
  __in  LPTSTR lpLocaleString
);

Parameters

lpLocaleString [in]

Pointer to a buffer containing a null-terminated locale identifier string.

Return value

Returns TRUE to continue enumeration or FALSE otherwise.

Remarks

An EnumLocalesProc function can carry out any desired task. The application registers this function by passing its address to the EnumSystemLocales function.

Requirements

Minimum supported client

Windows 2000 Professional

Minimum supported server

Windows 2000 Server

Header

Winnls.h (include Windows.h)

See also

National Language Support
National Language Support Functions
EnumSystemLocales

 

 

Send comments about this topic to Microsoft

Build date: 3/6/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ
This function must return 1, not (DWORD) -1 to continue processing
This function must return 1, not (DWORD) -1 to continue processing
  • 7/17/2011
  • x13