Platform SDK: International Features

EnumCalendarInfoProcEx

The EnumCalendarInfoProcEx function is an application defined–callback function used with the EnumCalendarInfoEx function. It receives a pointer to a buffer containing a calendar information string and a calendar identifier (CALID). The CALINFO_ENUMPROCEX type defines a pointer to this callback function. EnumCalendarInfoProcEx is a placeholder for the application defined–function name.

BOOL CALLBACK EnumCalendarInfoProcEx (
  LPTSTR lpCalendarInfoString,  // calendar information string
  CALID Calendar                // calendar identifier
);

Parameters

lpCalendarInfoString
[in] Pointer to a buffer containing a null-terminated calendar information string. This string is formatted according to the CALTYPE value passed to EnumCalendarInfoEx.
Calendar
[in] Calendar identifier 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.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Windows 95/98: Requires Windows 98.
  Header: Declared in Winnls.h; include Windows.h.
  Unicode: Declared as Unicode and ANSI prototypes.

See Also

National Language Support Overview, National Language Support Functions, EnumCalendarInfoEx