Compartir a través de


DateTime_GetRange

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

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

Syntax

DWORD DateTime_GetRange(
  HWND hwndDT, 
  LPSYSTEMTIME lpSysTimeArray
);

Parameters

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

Return Value

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

Header commctrl.h
Windows Embedded CE Windows CE 2.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

DTM_GETRANGE

Other Resources

SYSTEMTIME