Share via


DateTime_GetRange

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

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 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

Runs On Versions Defined in Include Link to
Windows CE OS 2.0 and later Commctrl.h   Commctrl.lib

Note   This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.

See Also

DTM_GETRANGE, SYSTEMTIME

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.