EnumCalendarInfoProcEx

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.
);
 

Parameters

lpCalendarInfoString
Pointer to a string buffer containing a null-terminated calendar information string. This string is formatted according to the CALTYPE value passed to EnumCalendarInfoEx. Note that lpCalendarInfoString should be an LPWSTR for the Unicode (W) version of EnumCalendarInfoEx, and an LPSTR for the ANSI (A) version of EnumCalendarInfoEx.
Calendar
Calendar ID associated with the associated calendar information retrieved.

Return Values

To continue enumeration, the callback function should return TRUE.

To stop enumeration, the callback function should return FALSE.

Remarks

An EnumCalendarInfoProcEx function can carry out any desired task.

An application registers an EnumCalendarInfoProcEx function by passing its address to the EnumCalendarInfoEx function.

See Also

National Language Support Overview, National Language Support Functions, EnumCalendarInfo