Alistair Leslie-Hughes : include: Added missing DateTime_* defines.

Alexandre Julliard julliard at winehq.org
Thu Aug 1 17:16:47 CDT 2019


Module: wine
Branch: master
Commit: 10cc93371572a2382fef3051775747433492cf26
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=10cc93371572a2382fef3051775747433492cf26

Author: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Date:   Thu Aug  1 03:29:04 2019 +0000

include: Added missing DateTime_* defines.

Also defines struct DATETIMEPICKERINFO needed for #defines.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 include/commctrl.h | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/include/commctrl.h b/include/commctrl.h
index 0f0d83c..f21d930 100644
--- a/include/commctrl.h
+++ b/include/commctrl.h
@@ -5054,6 +5054,17 @@ typedef struct tagNMDATETIMEFORMATQUERYW
 DECL_WINELIB_TYPE_AW(NMDATETIMEFORMATQUERY)
 DECL_WINELIB_TYPE_AW(LPNMDATETIMEFORMATQUERY)
 
+typedef struct tagDATETIMEPICKERINFO
+{
+    DWORD cbSize;
+    RECT  rcCheck;
+    DWORD stateCheck;
+    RECT  rcButton;
+    DWORD stateButton;
+    HWND  hwndEdit;
+    HWND  hwndUD;
+    HWND  hwndDropDown;
+} DATETIMEPICKERINFO, *LPDATETIMEPICKERINFO;
 
 
 #define GDT_ERROR    -1
@@ -5089,6 +5100,14 @@ DECL_WINELIB_TYPE_AW(LPNMDATETIMEFORMATQUERY)
   SNDMSG (hdp, DTM_GETMCFONT, 0, 0)
 #define DateTime_GetIdealSize(hdp, sz) \
   (BOOL) SNDMSG (hdp, DTM_GETIDEALSIZE, 0, (LPARAM)sz)
+#define DateTime_SetMonthCalStyle(hdp, style) \
+  SNDMSG(hdp, DTM_SETMCSTYLE, 0, (LPARAM)style)
+#define DateTime_GetMonthCalStyle(hdp) \
+  SNDMSG(hdp, DTM_GETMCSTYLE, 0, 0)
+#define DateTime_GetDateTimePickerInfo(hdp, info) \
+  SNDMSG(hdp, DTM_GETDATETIMEPICKERINFO, 0, (LPARAM)info)
+#define DateTime_CloseMonthCal(hdp) \
+  SNDMSG(hdp, DTM_CLOSEMONTHCAL, 0, 0)
 
 #define DA_LAST         (0x7fffffff)
 #define DPA_APPEND      (0x7fffffff)




More information about the wine-cvs mailing list