riched20/tests: Use proper method macros.
This commit is contained in:
parent
fcda3c7ad8
commit
28821a924c
|
@ -76,7 +76,7 @@ START_TEST(richole)
|
|||
ok(res, "SendMessage\n");
|
||||
ok(reOle != NULL, "EM_GETOLEINTERFACE\n");
|
||||
|
||||
hres = IUnknown_QueryInterface(reOle, &IID_ITextDocument,
|
||||
hres = IRichEditOle_QueryInterface(reOle, &IID_ITextDocument,
|
||||
(void **) &txtDoc);
|
||||
ok(hres == S_OK, "IRichEditOle_QueryInterface\n");
|
||||
ok(txtDoc != NULL, "IRichEditOle_QueryInterface\n");
|
||||
|
@ -104,7 +104,7 @@ START_TEST(richole)
|
|||
IUnknown_Release(punk);
|
||||
|
||||
ITextDocument_Release(txtDoc);
|
||||
IUnknown_Release(reOle);
|
||||
IRichEditOle_Release(reOle);
|
||||
DestroyWindow(w);
|
||||
|
||||
/* Methods should return CO_E_RELEASED if the backing document has
|
||||
|
|
|
@ -657,7 +657,7 @@ static BOOL init_texthost(void)
|
|||
|
||||
static void free_texthost(void)
|
||||
{
|
||||
IUnknown_Release(txtserv);
|
||||
ITextServices_Release(txtserv);
|
||||
CoTaskMemFree(dummyTextHost);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue