shell32/tests: With recent PSDKs, CSIDL_MYDOCUMENTS is a synonym for CSIDL_PERSONAL. So define our own constant.
This commit is contained in:
parent
c85b74d63e
commit
258f2972aa
|
@ -197,6 +197,11 @@ static void loadShell32(void)
|
||||||
#define CSIDL_PROFILES 0x003e
|
#define CSIDL_PROFILES 0x003e
|
||||||
#endif
|
#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 */
|
/* A couple utility printing functions */
|
||||||
static const char *getFolderName(int folder)
|
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_SENDTO);
|
||||||
CSIDL_TO_STR(CSIDL_BITBUCKET);
|
CSIDL_TO_STR(CSIDL_BITBUCKET);
|
||||||
CSIDL_TO_STR(CSIDL_STARTMENU);
|
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_MYMUSIC);
|
||||||
CSIDL_TO_STR(CSIDL_MYVIDEO);
|
CSIDL_TO_STR(CSIDL_MYVIDEO);
|
||||||
CSIDL_TO_STR(CSIDL_DESKTOPDIRECTORY);
|
CSIDL_TO_STR(CSIDL_DESKTOPDIRECTORY);
|
||||||
|
|
Loading…
Reference in New Issue