comctl32: Fixed the MRU tests on Vista.
This commit is contained in:
parent
de08ba8332
commit
a7794bcb50
|
@ -353,15 +353,15 @@ static void test_MRUListA(void)
|
|||
|
||||
/* NULL buffer = get list size */
|
||||
iRet = pEnumMRUList(hMRU, 0, NULL, 0);
|
||||
ok(iRet == 3, "EnumMRUList expected %d, got %d\n", LIST_SIZE, iRet);
|
||||
ok(iRet == 3 || iRet == -1 /* Vista */, "EnumMRUList expected %d or -1, got %d\n", LIST_SIZE, iRet);
|
||||
|
||||
/* negative item pos = get list size */
|
||||
iRet = pEnumMRUList(hMRU, -1, NULL, 0);
|
||||
ok(iRet == 3, "EnumMRUList expected %d, got %d\n", LIST_SIZE, iRet);
|
||||
ok(iRet == 3 || iRet == -1 /* Vista */, "EnumMRUList expected %d or -1, got %d\n", LIST_SIZE, iRet);
|
||||
|
||||
/* negative item pos = get list size */
|
||||
iRet = pEnumMRUList(hMRU, -5, NULL, 0);
|
||||
ok(iRet == 3, "EnumMRUList expected %d, got %d\n", LIST_SIZE, iRet);
|
||||
ok(iRet == 3 || iRet == -1 /* Vista */, "EnumMRUList expected %d or -1, got %d\n", LIST_SIZE, iRet);
|
||||
|
||||
/* negative item pos = get list size */
|
||||
iRet = pEnumMRUList(hMRU, -1, buffer, 255);
|
||||
|
|
Loading…
Reference in New Issue