shell32/tests: With recent PSDKs, CSIDL_MYDOCUMENTS is a synonym for CSIDL_PERSONAL. So define our own constant.

This commit is contained in:
Francois Gouget 2007-05-27 13:37:14 +02:00 committed by Alexandre Julliard
parent c85b74d63e
commit 258f2972aa
1 changed files with 6 additions and 1 deletions

View File

@ -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);