The EnumCalendarInfoProc function is an application-defined callback function used with the EnumCalendarInfo function. It receives a pointer to a string buffer containing a calendar information string. The CALINFO_ENUMPROC type defines a pointer to this callback function. EnumCalendarInfoProc is a placeholder for the application-defined function name.
BOOL CALLBACK EnumCalendarInfoProc(
LPTSTR lpCalendarInfoString // pointer to calendar information string
);
To continue enumeration, the callback function should return TRUE.
To stop enumeration, the callback function should return FALSE.
An EnumCalendarInfoProc function can carry out any desired task.
An application registers an EnumCalendarInfoProc function by passing its address to the EnumCalendarInfo function.
Windows CE: Windows CE does not support the ANSI version of this function.
Windows NT: Requires version 3.1 or later.
Windows: Requires Windows 98 or later.
Windows CE: Requires version 1.0 or later.
Header: Declared in winnls.h.
Import Library: User-defined.
National Language Support Overview, National Language Support Functions, EnumCalendarInfo