Author: akhaldi
Date: Thu Feb 24 01:26:34 2011
New Revision: 50886
URL:
http://svn.reactos.org/svn/reactos?rev=50886&view=rev
Log:
[PSDK]
- Improve some definitions.
Modified:
trunk/reactos/include/psdk/commctrl.h
trunk/reactos/include/psdk/winuser.h
Modified: trunk/reactos/include/psdk/commctrl.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/commctrl.h?re…
==============================================================================
--- trunk/reactos/include/psdk/commctrl.h [iso-8859-1] (original)
+++ trunk/reactos/include/psdk/commctrl.h [iso-8859-1] Thu Feb 24 01:26:34 2011
@@ -3024,8 +3024,8 @@
#endif
#if(_WIN32_IE >= 0x0600)
#define TVIF_STATEEX 0x100
+#endif
#define TVIF_EXPANDEDIMAGE 0x200
-#endif
#define TVIS_SELECTED 0x2
#define TVIS_CUT 0x4
#define TVIS_DROPHILITED 0x8
@@ -3084,7 +3084,10 @@
int cChildren;
LPARAM lParam;
int iIntegral;
- } TVITEMEXA,*LPTVITEMEXA;
+ UINT uStateEx; /* _WIN32_IE >= 0x600 */
+ HWND hwnd; /* _WIN32_IE >= 0x600 */
+ int iExpandedImage; /* _WIN32_IE >= 0x600 */
+ } TVITEMEXA, *LPTVITEMEXA;
typedef struct tagTVITEMEXW {
UINT mask;
@@ -3098,14 +3101,9 @@
int cChildren;
LPARAM lParam;
int iIntegral;
-#if(_WIN32_IE >= 0x0600)
- UINT uStateEx;
- HWND hwnd;
- int iExpandedImage;
-#endif
-#if(NTDDI_VERSION >= NTDDI_WIN7)
- int iReserved;
-#endif
+ UINT uStateEx; /* _WIN32_IE >= 0x600 */
+ HWND hwnd; /* _WIN32_IE >= 0x600 */
+ int iExpandedImage; /* _WIN32_IE >= 0x600 */
} TVITEMEXW, *LPTVITEMEXW;
__MINGW_TYPEDEF_AW(TVITEMEX)
@@ -4018,6 +4016,8 @@
#define MonthCal_SetUnicodeFormat(hwnd,fUnicode)
(WINBOOL)SNDMSG((hwnd),MCM_SETUNICODEFORMAT,(WPARAM)(fUnicode),0)
#define MCM_GETUNICODEFORMAT CCM_GETUNICODEFORMAT
#define MonthCal_GetUnicodeFormat(hwnd) (WINBOOL)SNDMSG((hwnd),MCM_GETUNICODEFORMAT,0,0)
+#define MCM_SETCALENDARBORDER (MCM_FIRST + 30)
+#define MCM_GETCALENDARBORDER (MCM_FIRST + 31)
typedef struct tagNMSELCHANGE {
NMHDR nmhdr;
Modified: trunk/reactos/include/psdk/winuser.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/winuser.h?rev…
==============================================================================
--- trunk/reactos/include/psdk/winuser.h [iso-8859-1] (original)
+++ trunk/reactos/include/psdk/winuser.h [iso-8859-1] Thu Feb 24 01:26:34 2011
@@ -1735,6 +1735,9 @@
#define WM_XBUTTONUP 524
#define WM_XBUTTONDBLCLK 525
#endif
+#if (_WIN32_WINNT >= 0x0600)
+#define WM_MOUSEHWHEEL 526
+#endif
#if (_WIN32_WINNT >= 0x0500)
#define WM_MOUSELAST 525
#elif (_WIN32_WINNT >= 0x0400) || (_WIN32_WINDOWS > 0x0400)