DateTime_GetRange (Windows CE 5.0)

Send Feedback

This macro retrieves the current minimum and maximum allowable system times for a date and time picker (DTP) control.

DWORD DateTime_GetRange(HWNDhwndDT, LPSYSTEMTIMElpSysTimeArray);

Parameters

  • hwndDT
    Handle to a DTP control.
  • lpSysTimeArray
    Long pointer to a two-element array of SYSTEMTIME structures.

Return Values

Returns a DWORD value that is a combination of GDTR_MIN or GDTR_MAX. The first element of the SYSTEMTIME array contains the minimum allowable time. The second element of the SYSTEMTIME array contains the maximum allowable time.

Requirements

OS Versions: Windows CE 2.0 and later.
Header: Commctrl.h.

See Also

DTM_GETRANGE | SYSTEMTIME

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.