[SHELL32_NEW]
authorGed Murphy <gedmurphy@reactos.org>
Wed, 20 Jul 2011 21:35:54 +0000 (21:35 +0000)
committerGed Murphy <gedmurphy@reactos.org>
Wed, 20 Jul 2011 21:35:54 +0000 (21:35 +0000)
- Add some enums which were accidentally removed.
- Add the rather strange Wineisms which some of their dlls rely on.
- Should fix the build for this branch

svn path=/branches/shell32_new-bringup/; revision=52750

include/psdk/shlwapi.h
include/reactos/wine/commctrl.h

index 0d2733a..079b97e 100644 (file)
@@ -579,6 +579,11 @@ typedef enum {
     URL_SCHEME_MSSHELLROOTED,
     URL_SCHEME_MSSHELLIDLIST,
     URL_SCHEME_MSHELP,
     URL_SCHEME_MSSHELLROOTED,
     URL_SCHEME_MSSHELLIDLIST,
     URL_SCHEME_MSHELP,
+    URL_SCHEME_MSSHELLDEVICE,
+    URL_SCHEME_WILDCARD,
+    URL_SCHEME_SEARCH_MS,
+    URL_SCHEME_SEARCH,
+    URL_SCHEME_KNOWNFOLDER,
     URL_SCHEME_MAXVALUE
 } URL_SCHEME;
 
     URL_SCHEME_MAXVALUE
 } URL_SCHEME;
 
index f55a4b2..6b1ae75 100644 (file)
@@ -33,6 +33,19 @@ static const WCHAR DRAGLISTMSGSTRINGW[] = { 'c','o','m','m','c','t','r','l',
   '_','D','r','a','g','L','i','s','t','M','s','g',0 };
 #endif
 
   '_','D','r','a','g','L','i','s','t','M','s','g',0 };
 #endif
 
+#define ListView_InsertItemA(hwnd,pitem) \
+    (INT)SNDMSGA((hwnd),LVM_INSERTITEMA,0,(LPARAM)(const LVITEMA *)(pitem))
+#define ListView_InsertItemW(hwnd,pitem) \
+    (INT)SNDMSGW((hwnd),LVM_INSERTITEMW,0,(LPARAM)(const LVITEMW *)(pitem))
+
+#ifdef __cplusplus
+#define SNDMSGA ::SendMessageA
+#define SNDMSGW ::SendMessageW
+#else
+#define SNDMSGA SendMessageA
+#define SNDMSGW SendMessageW
+#endif
+
 #define FLATSB_CLASSA         "flatsb_class32"
 #if defined(__GNUC__)
 # define FLATSB_CLASSW (const WCHAR []){ 'f','l','a','t','s','b','_', \
 #define FLATSB_CLASSA         "flatsb_class32"
 #if defined(__GNUC__)
 # define FLATSB_CLASSW (const WCHAR []){ 'f','l','a','t','s','b','_', \