Partager via


DTM_GETRANGE (Windows Embedded CE 6.0)

1/6/2010

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

Syntax

DTM_GETRANGE wParam = 0; 
    lParam = (LPARAM) lpSysTimeArray;

Parameters

  • wParam
    Not used.
  • 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.

Remarks

The first element of the SYSTEMTIME array contains the minimum allowable time if GDTR_MIN is set. The second element of the SYSTEMTIME array contains the maximum allowable time if GDTR_MAX is set.

Requirements

Header commctrl.h
Windows Embedded CE Windows CE 2.0 and later

See Also

Reference

Date and Time Picker Controls Messages
DateTime_GetRange

Other Resources

SYSTEMTIME