Huw Davies : ole32/tests: Show that the storage' s CLSID is not modified when saving.
Alexandre Julliard
julliard at winehq.org
Wed Nov 29 15:12:31 CST 2017
Module: wine
Branch: master
Commit: 667ce5a29e1cf5aae4286b34ec8379bf50640cd4
URL: http://source.winehq.org/git/wine.git/?a=commit;h=667ce5a29e1cf5aae4286b34ec8379bf50640cd4
Author: Huw Davies <huw at codeweavers.com>
Date: Wed Nov 29 09:28:46 2017 +0000
ole32/tests: Show that the storage's CLSID is not modified when saving.
Signed-off-by: Huw Davies <huw at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/ole32/tests/ole2.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/ole32/tests/ole2.c b/dlls/ole32/tests/ole2.c
index 88ad207..ca6756a 100644
--- a/dlls/ole32/tests/ole2.c
+++ b/dlls/ole32/tests/ole2.c
@@ -4194,7 +4194,7 @@ static void test_data_cache_save_data(void)
},
1, 1, &CLSID_WineTest,
{
- &CLSID_WineTest, 1, { { "\2OlePres000", CF_DIB, DVASPECT_CONTENT, 0, NULL, 0 } }
+ &CLSID_WineTestOld, 1, { { "\2OlePres000", CF_DIB, DVASPECT_CONTENT, 0, NULL, 0 } }
}
},
{
@@ -4203,7 +4203,7 @@ static void test_data_cache_save_data(void)
},
1, 1, &CLSID_WineTest,
{
- &CLSID_WineTest, 1, { { "\2OlePres000", CF_METAFILEPICT, DVASPECT_CONTENT, 0, NULL, 0 } }
+ &CLSID_WineTestOld, 1, { { "\2OlePres000", CF_METAFILEPICT, DVASPECT_CONTENT, 0, NULL, 0 } }
}
},
{
@@ -4238,7 +4238,7 @@ static void test_data_cache_save_data(void)
hr = StgCreateDocfileOnILockBytes(ilb, STGM_CREATE | STGM_READWRITE | STGM_SHARE_EXCLUSIVE, 0, &doc);
ok(hr == S_OK, "unexpected %#x\n", hr);
ILockBytes_Release(ilb);
- hr = IStorage_SetClass(doc, pdata->clsid);
+ hr = IStorage_SetClass(doc, &CLSID_WineTestOld);
ok(hr == S_OK, "unexpected %#x\n", hr);
hr = IOleCache2_QueryInterface(cache, &IID_IPersistStorage, (void **)&persist);
More information about the wine-cvs
mailing list