Share via


EnumCalendarInfoProc

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This function is an application-defined callback function. It is called as a result of a call to the EnumCalendarInfo function, and receives a pointer to a string buffer that contains a calendar information string.

Syntax

BOOL CALLBACK EnumCalendarInfoProc(
  LPWSTR lpCalendarInfoString
);

Parameters

  • lpCalendarInfoString
    [out] Pointer to a string buffer that contains a null-terminated calendar information string. This string is formatted according to the CALTYPE value passed to EnumCalendarInfo.

Return Value

TRUE continues enumeration. FALSE stops enumeration.

Remarks

Windows Embedded CE supports only the Unicode version of this function.

An EnumCalendarInfoProc function can carry out any desired task.

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

Note

This function poses a security risk. The parameter lpCalendarInfoString is only used as input but not declared as a const string. The user may fill anything into it and can cause a buffer overflow.

Requirements

Header winnls.h
Library Coreloc.lib
Windows Embedded CE Windows CE .NET 4.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

EnumCalendarInfo