Platform SDK: International Features

EnumCalendarInfoProc

The EnumCalendarInfoProc function is an application defined–callback function used with the EnumCalendarInfo function. It receives a pointer to a 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   // calendar information string
);

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 EnumCalendarInfo.

Return Values

To continue enumeration, the callback function should return TRUE.

To stop enumeration, the callback function should return FALSE.

Remarks

An EnumCalendarInfoProc function can carry out any desired task.

An application registers an EnumCalendarInfoProc function by passing its address to the EnumCalendarInfo function.

Requirements

  Windows NT/2000: Requires Windows NT 3.1 or later.
  Windows 95/98: Requires Windows 98.
  Header: Declared in Winnls.h; include Windows.h.

See Also

National Language Support Overview, National Language Support Functions, EnumCalendarInfo