Retrieves date information (using SYSTEMTIME structures) that represents the high and low limits of a month calendar control's display. You can use this macro or send the MCM_GETMONTHRANGE message explicitly.
Handle to a month calendar control.
Value specifying the scope of the range limits to be retrieved. This value must be one of the following:
Include preceding and trailing months of visible range that are only partially displayed.
Include only those months that are entirely displayed.
Pointer to a two-element array of SYSTEMTIME structures that will receive the lower and upper limits of the scope specified by dwFlag. The lower and upper limits are placed in lprgSysTimeArray and lprgSysTimeArray, respectively. The time members of these structures will not be modified. This parameter must be a valid address and cannot be NULL.
Returns an INT value that represents the range, in months, spanned by the two limits returned at lprgSysTimeArray.
Minimum supported client
|Windows 2000 Professional [desktop apps only]|
Minimum supported server
|Windows 2000 Server [desktop apps only]|
Build date: 10/27/2012