From 6d9150dd381cb23145f321d2dcf06721470e1136 Mon Sep 17 00:00:00 2001 From: Felix Nawothnig Date: Thu, 7 Jul 2005 11:26:26 +0000 Subject: [PATCH] Add another failing DPA test. --- dlls/comctl32/tests/dpa.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dlls/comctl32/tests/dpa.c b/dlls/comctl32/tests/dpa.c index bcd63c2fcc4..ffdce0d9cd1 100644 --- a/dlls/comctl32/tests/dpa.c +++ b/dlls/comctl32/tests/dpa.c @@ -353,6 +353,12 @@ static void test_dpa(void) ok(CheckDPA(dpa2, 0x777456, &dw2), "dw=0x%lx\n", dw2); ok(nEnum == 3, "nEnum=%d\n", nEnum); } + + /* Setting item with huge index should work */ + todo_wine ok(pDPA_SetPtr(dpa2, 0x12345, (PVOID)0xdeadbeef), "\n"); + ret = pDPA_GetPtrIndex(dpa2, (PVOID)0xdeadbeef); + todo_wine ok(ret == 0x12345, "ret=%d\n", ret); + pDPA_DeleteAllPtrs(dpa2); ok(CheckDPA(dpa2, 0, &dw2), "dw2=0x%lx\n", dw2); pDPA_Destroy(dpa2);