shell32: Fix a test on Windows Vista/2008.
This commit is contained in:
parent
e5fcbad5b6
commit
6728057954
|
@ -299,8 +299,8 @@ static void testSHGetFolderLocationInvalidArgs(void)
|
||||||
/* check a bogus user token: */
|
/* check a bogus user token: */
|
||||||
pidl = NULL;
|
pidl = NULL;
|
||||||
hr = pSHGetFolderLocation(NULL, CSIDL_FAVORITES, (HANDLE)2, 0, &pidl);
|
hr = pSHGetFolderLocation(NULL, CSIDL_FAVORITES, (HANDLE)2, 0, &pidl);
|
||||||
ok(hr == E_FAIL,
|
ok(hr == E_FAIL || hr == E_HANDLE,
|
||||||
"SHGetFolderLocation(NULL, CSIDL_FAVORITES, 2, 0, &pidl) returned 0x%08x, expected E_FAIL\n", hr);
|
"SHGetFolderLocation(NULL, CSIDL_FAVORITES, 2, 0, &pidl) returned 0x%08x, expected E_FAIL or E_HANDLE\n", hr);
|
||||||
if (SUCCEEDED(hr))
|
if (SUCCEEDED(hr))
|
||||||
IMalloc_Free(pMalloc, pidl);
|
IMalloc_Free(pMalloc, pidl);
|
||||||
/* check reserved is not zero: */
|
/* check reserved is not zero: */
|
||||||
|
|
Loading…
Reference in New Issue