GetCalendarSupportedDateRange
Gets the supported date range for a specified calendar.
BOOL GetCalendarSupportedDateRange(CALID Calendar,LPCALDATETIME lpCalMinDateTime,LPCALDATETIME lpCalMaxDateTime);
Parameters
- Calendar
[in]The calendar Calendar identifier for which to get the supported date range. - lpCalDateMinTime
[out] The CALDATETIME minimum supported date. - lpCalDateMaxTime
[out] The CALDATETIME maximum supported date.
Return Values
Returns TRUE if retrieving the supported date range succeeded. FALSE, otherwise.
Remarks
To get extended error information, call GetLastError, which can return the following error code:
- ERROR_INVALID_PARAMETER
This function does not have an associated header or library file. Call LoadLibrary with the DLL name (Kernel32.dll) to obtain a module handle. Then call GetProcAddress with that module handle and this function name to get the address of this function.
This function is deprecated and will be unavailable in subsequent versions.
Requirements
** Windows NT/2000/XP/Vista:** Windows Vista only.
** Windows 95/98/Me:** Unsupported.
** Implementation:** Implemented by Kernel32.dll.
See Also
National Language Support, National Language Support Functions, NLS: Name-based APIs Sample