Ge van Geldorp : shell32/tests: Fix shellpath test on Win7.

Alexandre Julliard julliard at winehq.org
Mon Sep 28 11:54:40 CDT 2009


Module: wine
Branch: master
Commit: f4878f08598a519a8d01371c593506aa48a5789e
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=f4878f08598a519a8d01371c593506aa48a5789e

Author: Ge van Geldorp <ggeldorp at vmware.com>
Date:   Mon Sep 28 12:41:50 2009 +0200

shell32/tests: Fix shellpath test on Win7.

---

 dlls/shell32/tests/shellpath.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/dlls/shell32/tests/shellpath.c b/dlls/shell32/tests/shellpath.c
index b5b1967..f9f59e1 100644
--- a/dlls/shell32/tests/shellpath.c
+++ b/dlls/shell32/tests/shellpath.c
@@ -43,6 +43,9 @@
 #endif
 
 /* from pidl.h, not included here: */
+#ifndef PT_CPL             /* Guess, Win7 uses this for CSIDL_CONTROLS */
+#define PT_CPL        0x01 /* no path */
+#endif
 #ifndef PT_GUID
 #define PT_GUID       0x1f /* no path */
 #endif
@@ -93,7 +96,7 @@ static UINT (WINAPI *pGetSystemWow64DirectoryA)(LPSTR,UINT);
 static DLLVERSIONINFO shellVersion = { 0 };
 static LPMALLOC pMalloc;
 static const BYTE guidType[] = { PT_GUID };
-static const BYTE controlPanelType[] = { PT_SHELLEXT, PT_GUID };
+static const BYTE controlPanelType[] = { PT_SHELLEXT, PT_GUID, PT_CPL };
 static const BYTE folderType[] = { PT_FOLDER, PT_FOLDERW };
 static const BYTE favoritesType[] = { PT_FOLDER, PT_FOLDERW, 0, PT_IESPECIAL2 /* Win98 */ };
 static const BYTE folderOrSpecialType[] = { PT_FOLDER, PT_IESPECIAL2 };




More information about the wine-cvs mailing list