Module: wine Branch: master Commit: d18875f3065568e19a24b897861e712bd5ac162b URL: http://source.winehq.org/git/wine.git/?a=commit;h=d18875f3065568e19a24b89786...
Author: Huw Davies huw@codeweavers.com Date: Wed Apr 22 10:34:04 2009 +0100
ole32/tests: win64 sets the lsb of the final DWORD in the ole private data header.
---
dlls/ole32/tests/clipboard.c | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/dlls/ole32/tests/clipboard.c b/dlls/ole32/tests/clipboard.c index fd4a4e0..207411a 100644 --- a/dlls/ole32/tests/clipboard.c +++ b/dlls/ole32/tests/clipboard.c @@ -714,7 +714,12 @@ static void test_cf_dataobject(IDataObject *data) ok(priv->res2 == 1, "got %08x\n", priv->res2); ok(priv->count == count, "got %08x expected %08x\n", priv->count, count); ok(priv->res3[0] == 0, "got %08x\n", priv->res3[0]); - ok(priv->res3[1] == 0, "got %08x\n", priv->res3[1]); + + /* win64 sets the lsb */ + if(sizeof(fmt_ptr->fmt.ptd) == 8) + todo_wine ok(priv->res3[1] == 1, "got %08x\n", priv->res3[1]); + else + ok(priv->res3[1] == 0, "got %08x\n", priv->res3[1]);
GlobalUnlock(h); IEnumFORMATETC_Release(enum_fmt);