shell32: Fix a couple test failures on NT4.

oldstable
Juan Lang 2009-02-03 09:01:59 -08:00 committed by Alexandre Julliard
parent 8b0f2e3e4b
commit dfdf2be7c6
1 changed files with 3 additions and 1 deletions

View File

@ -419,7 +419,9 @@ static BYTE testSHGetSpecialFolderLocation(BOOL optional, int folder)
pidl = NULL;
hr = pSHGetSpecialFolderLocation(NULL, folder, &pidl);
ok(SUCCEEDED(hr) || optional,
ok(SUCCEEDED(hr) || optional ||
broken((folder == CSIDL_COOKIES || folder == CSIDL_INTERNET) &&
hr == E_INVALIDARG) /* NT4 */,
"SHGetSpecialFolderLocation(NULL, %s, &pidl) failed: 0x%08x\n", getFolderName(folder), hr);
if (SUCCEEDED(hr))
{