MonthCal_GetToday macro (commctrl.h)

Retrieves the date information for the date specified as "today" for a month calendar control. You can use this macro or send the MCM_GETTODAY message explicitly.

Syntax

void MonthCal_GetToday(
   hmc,
   pst
);

Parameters

hmc

Type: HWND

Handle to a month calendar control.

pst

Type: LPSYSTEMTIME

Pointer to a SYSTEMTIME structure that will receive the date information. The time members of this structure will not be modified. This parameter must be a valid address and cannot be NULL.

Return value

None

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header commctrl.h