Commit 879261dd authored by Jactry Zeng's avatar Jactry Zeng Committed by Alexandre Julliard

riched20: Add tests for IRichEditOle::QueryInterface.

parent 0d7613fc
......@@ -156,6 +156,14 @@ static void test_Interfaces(void)
ok(punk != NULL, "ITextSelection_QueryInterface\n");
IUnknown_Release(punk);
punk = NULL;
hres = IRichEditOle_QueryInterface(reOle, &IID_IOleClientSite, (void **) &punk);
ok(hres == E_NOINTERFACE, "IRichEditOle_QueryInterface\n");
punk = NULL;
hres = IRichEditOle_QueryInterface(reOle, &IID_IOleWindow, (void **) &punk);
ok(hres == E_NOINTERFACE, "IRichEditOle_QueryInterface\n");
ITextDocument_Release(txtDoc);
IRichEditOle_Release(reOle);
refcount = IRichEditOle_Release(reOle);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment