Commit in reactos/lib/shell32 on MAIN
shellfolder.h+12-71.3 -> 1.4
shellpath.c+7-71.11 -> 1.12
+19-14
2 modified files
Alexandre Julliard <julliard@winehq.org>
- Fixed typo in ProgramsW.
- Changed the case of windows and system directories to match the
  directories we create by default.
- Avoid depending on the non-standard IUnknown_METHODS macro in Wine
  internal headers.

reactos/lib/shell32
shellfolder.h 1.3 -> 1.4
diff -u -r1.3 -r1.4
--- shellfolder.h	26 Sep 2004 14:34:23 -0000	1.3
+++ shellfolder.h	5 Oct 2004 07:43:19 -0000	1.4
@@ -40,13 +40,18 @@
  */
 
 #define INTERFACE ISFHelper
-#define ISFHelper_METHODS \
-	IUnknown_METHODS \
-	STDMETHOD(GetUniqueName)(THIS_ LPSTR  lpName, UINT  uLen) PURE; \
-	STDMETHOD(AddFolder)(THIS_ HWND  hwnd, LPCSTR  lpName, LPITEMIDLIST * ppidlOut) PURE; \
-	STDMETHOD(DeleteItems)(THIS_ UINT  cidl, LPCITEMIDLIST * apidl) PURE; \
-	STDMETHOD(CopyItems)(THIS_ IShellFolder * pSFFrom, UINT  cidl, LPCITEMIDLIST * apidl) PURE;
-DECLARE_INTERFACE_(ISFHelper, IUnknown) { ISFHelper_METHODS };
+DECLARE_INTERFACE_(ISFHelper,IUnknown)
+{
+    /*** IUnknown methods ***/
+    STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE;
+    STDMETHOD_(ULONG,AddRef)(THIS) PURE;
+    STDMETHOD_(ULONG,Release)(THIS) PURE;
+    /*** ISFHelper methods ***/
+    STDMETHOD(GetUniqueName)(THIS_ LPSTR  lpName, UINT  uLen) PURE;
+    STDMETHOD(AddFolder)(THIS_ HWND  hwnd, LPCSTR  lpName, LPITEMIDLIST * ppidlOut) PURE;
+    STDMETHOD(DeleteItems)(THIS_ UINT  cidl, LPCITEMIDLIST * apidl) PURE;
+    STDMETHOD(CopyItems)(THIS_ IShellFolder * pSFFrom, UINT  cidl, LPCITEMIDLIST * apidl) PURE;
+};
 #undef INTERFACE
 
 #ifdef COBJMACROS

reactos/lib/shell32
shellpath.c 1.11 -> 1.12
diff -u -r1.11 -r1.12
--- shellpath.c	21 Sep 2004 21:13:49 -0000	1.11
+++ shellpath.c	5 Oct 2004 07:43:19 -0000	1.12
@@ -775,14 +775,14 @@
 static const WCHAR Program_FilesW[] = {'P','r','o','g','r','a','m',' ','F','i','l','e','s','\0'};
 static const WCHAR Program_Files__Common_FilesW[] = {'P','r','o','g','r','a','m',' ','F','i','l','e','s','\\',
                                                      'C','o','m','m','o','n',' ','F','i','l','e','s','\0'};
-static const WCHAR ProgramsW[] = {'P','r','o','g','r','m','s','\0'};
+static const WCHAR ProgramsW[] = {'P','r','o','g','r','a','m','s','\0'};
 static const WCHAR RecentW[] = {'R','e','c','e','n','t','\0'};
 static const WCHAR ResourcesW[] = {'R','e','s','o','u','r','c','e','s','\0'};
 static const WCHAR SendToW[] = {'S','e','n','d','T','o','\0'};
 static const WCHAR ShellNewW[] = {'S','h','e','l','l','N','e','w','\0'};
 static const WCHAR Start_Menu__ProgramsW[] = {'S','t','a','r','t',' ','M','e','n','u','\\','P','r','o','g','r','a','m','s','\0'};
 static const WCHAR SysDirW[] = {'S','y','s','D','i','r','\0'};
-static const WCHAR SYSTEMW[] = {'S','Y','S','T','E','M','\0'};
+static const WCHAR SystemW[] = {'s','y','s','t','e','m','\0'};
 static const WCHAR StartUpW[] = {'S','t','a','r','t','U','p','\0'};
 static const WCHAR Start_MenuW[] = {'S','t','a','r','t',' ','M','e','n','u','\0'};
 static const WCHAR Start_Menu__Programs__Administrative_ToolsW[] = {
@@ -794,7 +794,7 @@
 static const WCHAR TemplatesW[] = {'T','e','m','p','l','a','t','e','s','\0'};
 static const WCHAR Temporary_Internet_FilesW[] = {'T','e','m','p','o','r','a','r','y',' ','I','n','t','e','r','n','e','t',' ','F','i','l','e','s','\0'};
 static const WCHAR WinDirW[] = {'W','i','n','D','i','r','\0'};
-static const WCHAR WindowsW[] = {'W','i','n','d','o','w','s','\0'};
+static const WCHAR WindowsW[] = {'w','i','n','d','o','w','s','\0'};
 
 
 
@@ -842,13 +842,13 @@
 	CSIDL_MYFLAG_SETUP | CSIDL_MYFLAG_RELATIVE,
         HKLM,
 	SysDirW,
-	SYSTEMW
+	SystemW
     },
     { /* CSIDL_PRINTERS */
 	CSIDL_MYFLAG_SETUP | CSIDL_MYFLAG_RELATIVE,
         HKLM,
 	SysDirW,
-	SYSTEMW
+	SystemW
     },
     { /* CSIDL_PERSONAL */
 	CSIDL_MYFLAG_SHFOLDER,
@@ -1046,7 +1046,7 @@
 	CSIDL_MYFLAG_SETUP | CSIDL_MYFLAG_RELATIVE,
         HKLM,
 	SysDirW,
-	SYSTEMW
+	SystemW
     },
     { /* CSIDL_PROGRAM_FILES */
 	CSIDL_MYFLAG_CURRVER,
@@ -1070,7 +1070,7 @@
 	CSIDL_MYFLAG_SETUP | CSIDL_MYFLAG_RELATIVE,
         HKLM,
  	SysDirW,
-	SYSTEMW
+	SystemW
     },
     { /* CSIDL_PROGRAM_FILESX86 */
 	CSIDL_MYFLAG_CURRVER,
CVSspam 0.2.8