Francois Gouget : shell32/tests: With recent PSDKs,
CSIDL_MYDOCUMENTS is a synonym for CSIDL_PERSONAL.
So define our own constant.
Alexandre Julliard
julliard at wine.codeweavers.com
Tue May 29 08:05:34 CDT 2007
Module: wine
Branch: master
Commit: 258f2972aa3bd014915d4fe23abd843cd2c8782f
URL: http://source.winehq.org/git/wine.git/?a=commit;h=258f2972aa3bd014915d4fe23abd843cd2c8782f
Author: Francois Gouget <fgouget at free.fr>
Date: Sun May 27 13:37:14 2007 +0200
shell32/tests: With recent PSDKs, CSIDL_MYDOCUMENTS is a synonym for CSIDL_PERSONAL. So define our own constant.
---
dlls/shell32/tests/shellpath.c | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/dlls/shell32/tests/shellpath.c b/dlls/shell32/tests/shellpath.c
index f793c2d..402ff42 100644
--- a/dlls/shell32/tests/shellpath.c
+++ b/dlls/shell32/tests/shellpath.c
@@ -197,6 +197,11 @@ static void loadShell32(void)
#define CSIDL_PROFILES 0x003e
#endif
+/* CSIDL_MYDOCUMENTS is now the same as CSIDL_PERSONAL, but what we want
+ * here is its original value.
+ */
+#define OLD_CSIDL_MYDOCUMENTS 0x000c
+
/* A couple utility printing functions */
static const char *getFolderName(int folder)
{
@@ -217,7 +222,7 @@ static const char *getFolderName(int folder)
CSIDL_TO_STR(CSIDL_SENDTO);
CSIDL_TO_STR(CSIDL_BITBUCKET);
CSIDL_TO_STR(CSIDL_STARTMENU);
- CSIDL_TO_STR(CSIDL_MYDOCUMENTS);
+ CSIDL_TO_STR(OLD_CSIDL_MYDOCUMENTS);
CSIDL_TO_STR(CSIDL_MYMUSIC);
CSIDL_TO_STR(CSIDL_MYVIDEO);
CSIDL_TO_STR(CSIDL_DESKTOPDIRECTORY);
More information about the wine-cvs
mailing list