Partager via


DateTime_GetRange (Windows Embedded CE 6.0)

1/6/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

See Also

Reference

Date and Time Picker Controls Macros
DTM_GETRANGE

Other Resources

SYSTEMTIME