Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
A version of this page is also available for
4/8/2010
This function is an application-defined callback function. It is called as a result of a call to the EnumCalendarInfofunction, 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 CALTYPEvalue passed to EnumCalendarInfo.
Return Value
TRUE continues enumeration. FALSE stops enumeration.
Remarks
Windows Embedded CE supports only the Unicode version of this function.
An EnumCalendarInfoProcfunction can carry out any desired task.
An application registers an EnumCalendarInfoProcfunction by passing its address to the EnumCalendarInfofunction.
Note: |
---|
This function poses a security risk. The parameter lpCalendarInfoStringis 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 |