Home
last modified time | relevance | path

Searched refs:unk_obj (Results 1 – 4 of 4) sorted by relevance

/reactos/modules/rostests/winetests/qedit/
H A Dmediadet.c134 struct unk_impl unk_obj = {{&unk_vtbl}, 19, NULL}; in test_mediadet() local
146 hr = CoCreateInstance(&CLSID_MediaDet, &unk_obj.IUnknown_iface, CLSCTX_INPROC_SERVER, in test_mediadet()
147 &IID_IUnknown, (void**)&unk_obj.inner_unk); in test_mediadet()
150 hr = IUnknown_QueryInterface(unk_obj.inner_unk, &IID_IMediaDet, (void**)&pM); in test_mediadet()
153 ok(refcount == unk_obj.ref, "MediaDet just pretends to support COM aggregation\n"); in test_mediadet()
155 ok(refcount == unk_obj.ref, "MediaDet just pretends to support COM aggregation\n"); in test_mediadet()
159 IUnknown_Release(unk_obj.inner_unk); in test_mediadet()
526 struct unk_impl unk_obj = {{&unk_vtbl}, 19, NULL}; in test_samplegrabber() local
541 &IID_IUnknown, (void**)&unk_obj.inner_unk); in test_samplegrabber()
544 hr = IUnknown_QueryInterface(unk_obj.inner_unk, &IID_ISampleGrabber, (void**)&sg); in test_samplegrabber()
[all …]
/reactos/modules/rostests/winetests/avifil32/
H A Dapi.c604 struct unk_impl unk_obj = {{&unk_vtbl}, 19, NULL}; in test_COM() local
613 &IID_IUnknown, (void**)&unk_obj.inner_unk); in test_COM()
618 ok(refcount == unk_obj.ref, "AVIFile just pretends to support COM aggregation\n"); in test_COM()
620 ok(refcount == unk_obj.ref, "AVIFile just pretends to support COM aggregation\n"); in test_COM()
624 ok(refcount == unk_obj.ref, "AVIFile just pretends to support COM aggregation\n"); in test_COM()
627 refcount = IUnknown_Release(unk_obj.inner_unk); in test_COM()
654 struct unk_impl unk_obj = {{&unk_vtbl}, 19, NULL}; in test_COM_wavfile() local
664 &IID_IUnknown, (void**)&unk_obj.inner_unk); in test_COM_wavfile()
669 ok(refcount == unk_obj.ref, "WAVFile just pretends to support COM aggregation\n"); in test_COM_wavfile()
671 ok(refcount == unk_obj.ref, "WAVFile just pretends to support COM aggregation\n"); in test_COM_wavfile()
[all …]
/reactos/modules/rostests/winetests/ole32/
H A Dpropvariant.c354 struct unk_impl unk_obj = {{&unk_vtbl}, 1}; in test_copy() local
392 U(propvarSrc).punkVal = &unk_obj.IUnknown_iface; in test_copy()
395 ok(U(propvarDst).punkVal == &unk_obj.IUnknown_iface, "Got wrong IUnknown pointer\n"); in test_copy()
396 ok(unk_obj.ref == 2, "got wrong refcount: %d.\n", unk_obj.ref); in test_copy()
399 ok(unk_obj.ref == 1, "got wrong refcount: %d.\n", unk_obj.ref); in test_copy()
406 SafeArrayPutElement(sa, &saindex, &unk_obj.IUnknown_iface); in test_copy()
408 SafeArrayPutElement(sa, &saindex, &unk_obj.IUnknown_iface); in test_copy()
409 ok(unk_obj.ref == 3, "got wrong refcount: %d.\n", unk_obj.ref); in test_copy()
415 ok(unk_obj.ref == 5, "got wrong refcount: %d.\n", unk_obj.ref); in test_copy()
418 ok(unk_obj.ref == 3, "got wrong refcount: %d.\n", unk_obj.ref); in test_copy()
[all …]
/reactos/modules/rostests/winetests/riched20/
H A Dtxtsrv.c830 struct unk_impl unk_obj = {{&unk_vtbl}, 19, NULL}; in test_COM() local
837 hr = pCreateTextServices(&unk_obj.IUnknown_iface, &texthost.ITextHost_iface, in test_COM()
838 &unk_obj.inner_unk); in test_COM()
840 hr = IUnknown_QueryInterface(unk_obj.inner_unk, pIID_ITextServices, (void**)&textsrv); in test_COM()
843 ok(refcount == unk_obj.ref, "CreateTextServices just pretends to support COM aggregation\n"); in test_COM()
845 ok(refcount == unk_obj.ref, "CreateTextServices just pretends to support COM aggregation\n"); in test_COM()
849 IUnknown_Release(unk_obj.inner_unk); in test_COM()