다음을 통해 공유


EnumCalendarInfoProcEx callback function

An application-defined callback function that processes enumerated calendar information provided by the EnumCalendarInfoEx function. The CALINFO_ENUMPROCEX type defines a pointer to this callback function. EnumCalendarInfoProcEx is a placeholder for the application-defined function name.

Syntax

BOOL CALLBACK EnumCalendarInfoProcEx(
  _In_ LPTSTR lpCalendarInfoString,
  _In_ CALID  Calendar
);

Parameters

  • lpCalendarInfoString [in]
    Pointer to a buffer containing a null-terminated calendar information string. This string is formatted according to the calendar type passed to EnumCalendarInfoEx.

  • Calendar [in]
    Calendar identifier that specifies the calendar associated with the supplied information.

Return value

Returns TRUE to continue enumeration or FALSE otherwise.

Remarks

An EnumCalendarInfoProcEx function can carry out any desired task. The application registers this function by passing its address to the EnumCalendarInfoEx function.

This callback function can process enumerated data from custom locales. Data is not guaranteed to be the same from computer to computer or between runs of an application. If your application must persist or transmit data, see Using Persistent Locale Data.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Winnls.h (include Windows.h)

Unicode and ANSI names

EnumCalendarInfoProcExW (Unicode) and EnumCalendarInfoProcExA (ANSI)

See also

National Language Support

National Language Support Functions

EnumCalendarInfoEx