5
VERIFY_HRESULT(CeRapiInit());
7
WCHAR buffer[MAX_PATH];
10
// XXX: CSIDL_DESKTOPDIRECTORY does not work, but that's probably OK
11
//TEST_NOT_FALSE(length = CeGetSpecialFolderPath(CSIDL_DESKTOPDIRECTORY, MAX_PATH, buffer));
13
TEST_NOT_FALSE(length = CeGetSpecialFolderPath(CSIDL_FAVORITES, MAX_PATH, buffer));
14
printf("CSIDL_FAVORITES: %s\n", from_unicode(buffer));
15
TEST_NOT_FALSE(length = CeGetSpecialFolderPath(CSIDL_FONTS, MAX_PATH, buffer));
16
printf("CSIDL_FONTS: %s\n", from_unicode(buffer));
17
TEST_NOT_FALSE(length = CeGetSpecialFolderPath(CSIDL_PERSONAL, MAX_PATH, buffer));
18
printf("CSIDL_PERSONAL: %s\n", from_unicode(buffer));
19
TEST_NOT_FALSE(length = CeGetSpecialFolderPath(CSIDL_PROGRAMS, MAX_PATH, buffer));
20
printf("CSIDL_PROGRAMS: %s\n", from_unicode(buffer));
21
TEST_NOT_FALSE(length = CeGetSpecialFolderPath(CSIDL_RECENT, MAX_PATH, buffer));
22
printf("CSIDL_RECENT: %s\n", from_unicode(buffer));
23
TEST_NOT_FALSE(length = CeGetSpecialFolderPath(CSIDL_STARTUP, MAX_PATH, buffer));
24
printf("CSIDL_STARTUP: %s\n", from_unicode(buffer));
26
VERIFY_HRESULT(CeRapiUninit());
27
return TEST_SUCCEEDED;