pub fn range(&self) -> [DatePickerValue; 2] {
        use winapi::um::commctrl::DTM_GETRANGE;
        use winapi::um::minwinbase::SYSTEMTIME;
        use winapi::shared::minwindef::{LPARAM};
        use std::mem;

        let handle = check_hwnd(&self.handle, NOT_BOUND, BAD_HANDLE);

        let mut tr: [SYSTEMTIME; 2] = unsafe { mem::zeroed() };

        wh::send_message(handle, DTM_GETRANGE, 0, &mut tr as *mut [SYSTEMTIME; 2] as LPARAM); 
    
        [
            DatePickerValue { year: tr[0].wYear, month: tr[0].wMonth, day: tr[0].wDay },
            DatePickerValue { year: tr[1].wYear, month: tr[1].wMonth, day: tr[1].wDay },
        ]
        
    }
/// Gets the current minimum and maximum allowable system times for a date and time picker control.
Gets the current minimum and maximum allowable system times for a date and time picker control.
Gets the current minimum and maximum allowable system times for a date and time picker control .
pub fn range(&self) -> [DatePickerValue; 2] {
        use winapi::um::commctrl::DTM_GETRANGE;
        use winapi::um::minwinbase::SYSTEMTIME;
        use winapi::shared::minwindef::{LPARAM};
        use std::mem;
        let handle = check_hwnd(&self.handle, NOT_BOUND, BAD_HANDLE);
        let mut tr: [SYSTEMTIME; 2] = unsafe { mem::zeroed() };
        wh::send_message(handle, DTM_GETRANGE, 0, &mut tr as *mut [SYSTEMTIME; 2] as LPARAM); 
        [
            DatePickerValue { year: tr[0].wYear, month: tr[0].wMonth, day: tr[0].wDay },
            DatePickerValue { year: tr[1].wYear, month: tr[1].wMonth, day: tr[1].wDay },
        ]
    }
pub fn range ( & self ) -> [ DatePickerValue ; 2 ] { use winapi :: um :: commctrl :: DTM_GETRANGE ; use winapi :: um :: minwinbase :: SYSTEMTIME ; use winapi :: shared :: minwindef :: { LPARAM } ; use std :: mem ; let handle = check_hwnd ( & self . handle , NOT_BOUND , BAD_HANDLE ) ; let mut tr : [ SYSTEMTIME ; 2 ] = unsafe { mem :: zeroed ( ) } ; wh :: send_message ( handle , DTM_GETRANGE , 0 , & mut tr as * mut [ SYSTEMTIME ; 2 ] as LPARAM ) ; [ DatePickerValue { year : tr [ 0 ] . wYear , month : tr [ 0 ] . wMonth , day : tr [ 0 ] . wDay } , DatePickerValue { year : tr [ 1 ] . wYear , month : tr [ 1 ] . wMonth , day : tr [ 1 ] . wDay } , ] }
Gets the current minimum and maximum allowable system times for a date and time picker control.
Gets the current minimum and maximum allowable system times for a date and time picker control .
&self