DateTime_GetDateTimePickerInfo macro (commctrl.h)

Gets information for a specified date and time picker (DTP) control.

Syntax

LRESULT DateTime_GetDateTimePickerInfo(
  [in]      HWND               hdp,
  [in, out] DATETIMEPICKERINFO *pdtpi
);

Parameters

[in] hdp

Type: HWND

A handle to the DTP control.

[in, out] pdtpi

Type: DATETIMEPICKERINFO*

DATETIMEPICKERINFO cbSize

Return value

Type: LRESULT

Return value is ignored.

Requirements

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