The EnumCalendarInfoProcEx function is an application-defined callback function used with the EnumCalendarInfoEx function. It receives a pointer to a string buffer containing a calendar information string and a Calendar ID (CALID). The CALINFO_ENUMPROCEX type defines a pointer to this callback function. EnumCalendarInfoProcEx is a placeholder for the application-defined function name.
BOOL CALLBACK EnumCalendarInfoProc(
LPTSTR lpCalendarInfoString // pointer to calendar information string
CALID Calendar // ID of the calendar of interest.
);
To continue enumeration, the callback function should return TRUE.
To stop enumeration, the callback function should return FALSE.
An EnumCalendarInfoProcEx function can carry out any desired task.
An application registers an EnumCalendarInfoProcEx function by passing its address to the EnumCalendarInfoEx function.
National Language Support Overview, National Language Support Functions, EnumCalendarInfo