Home
last modified time | relevance | path

Searched refs:IUnknown_iface (Results 1 – 25 of 28) sorted by relevance

12

/reactos/modules/rostests/winetests/shlwapi/
H A Dthread.c42 IUnknown IUnknown_iface; member
48 return CONTAINING_RECORD(iface, threadref, IUnknown_iface); in impl_from_IUnknown()
86 iface->IUnknown_iface.lpVtbl = &threadref_vt; in init_threadref()
219 hr = pSHSetThreadRef(&ref.IUnknown_iface); in test_SHSetThreadRef()
229 ok( (hr == S_OK) && (punk == &ref.IUnknown_iface) && (refcount == 2) && (AddRef_called == 1), in test_SHSetThreadRef()
/reactos/modules/rostests/winetests/quartz/
H A Dfiltermapper.c536 IUnknown IUnknown_iface; member
543 return CONTAINING_RECORD(iface, IUnknownImpl, IUnknown_iface); in IUnknownImpl_from_iface()
580 hr = CoCreateInstance(&CLSID_FilterMapper2, &unk_outer.IUnknown_iface, CLSCTX_INPROC_SERVER, in test_aggregate_filter_mapper()
583 …ok(pmapper != &unk_outer.IUnknown_iface, "pmapper = %p, expected not %p\n", pmapper, &unk_outer.IU… in test_aggregate_filter_mapper()
587 …ok(punk != &unk_outer.IUnknown_iface, "punk = %p, expected not %p\n", punk, &unk_outer.IUnknown_if… in test_aggregate_filter_mapper()
597 …ok(punk != &unk_outer.IUnknown_iface, "punk = %p, expected not %p\n", punk, &unk_outer.IUnknown_if… in test_aggregate_filter_mapper()
607 …ok(punk != &unk_outer.IUnknown_iface, "punk = %p, expected not %p\n", punk, &unk_outer.IUnknown_if… in test_aggregate_filter_mapper()
617 …ok(punk != &unk_outer.IUnknown_iface, "punk = %p, expected not %p\n", punk, &unk_outer.IUnknown_if… in test_aggregate_filter_mapper()
H A Dfiltergraph.c2200 IUnknown IUnknown_iface; member
2207 return CONTAINING_RECORD(iface, IUnknownImpl, IUnknown_iface); in IUnknownImpl_from_iface()
2244 hr = CoCreateInstance(&CLSID_FilterGraph, &unk_outer.IUnknown_iface, CLSCTX_INPROC_SERVER, in test_aggregate_filter_graph()
2247 …ok(pgraph != &unk_outer.IUnknown_iface, "pgraph = %p, expected not %p\n", pgraph, &unk_outer.IUnkn… in test_aggregate_filter_graph()
2251 …ok(punk != &unk_outer.IUnknown_iface, "punk = %p, expected not %p\n", punk, &unk_outer.IUnknown_if… in test_aggregate_filter_graph()
2261 …ok(punk != &unk_outer.IUnknown_iface, "punk = %p, expected not %p\n", punk, &unk_outer.IUnknown_if… in test_aggregate_filter_graph()
2271 …ok(punk != &unk_outer.IUnknown_iface, "punk = %p, expected not %p\n", punk, &unk_outer.IUnknown_if… in test_aggregate_filter_graph()
2281 …ok(punk != &unk_outer.IUnknown_iface, "punk = %p, expected not %p\n", punk, &unk_outer.IUnknown_if… in test_aggregate_filter_graph()
/reactos/modules/rostests/winetests/ole32/
H A Dole_server.c81 IUnknown IUnknown_iface; member
87 return CONTAINING_RECORD(iface, UnknownImpl, IUnknown_iface); in impl_from_IUnknown()
101 *ppv = &This->IUnknown_iface; in UnknownImpl_QueryInterface()
102 IUnknown_AddRef(&This->IUnknown_iface); in UnknownImpl_QueryInterface()
207 unknown->IUnknown_iface.lpVtbl = &UnknownImpl_Vtbl; in ClassFactoryImpl_CreateInstance()
209 IUnknown_AddRef(&unknown->IUnknown_iface); in ClassFactoryImpl_CreateInstance()
211 hr = IUnknown_QueryInterface(&unknown->IUnknown_iface, iid, ppv); in ClassFactoryImpl_CreateInstance()
212 IUnknown_Release(&unknown->IUnknown_iface); in ClassFactoryImpl_CreateInstance()
H A Dpropvariant.c308 IUnknown IUnknown_iface; member
314 return CONTAINING_RECORD(iface, struct unk_impl, IUnknown_iface); in impl_from_IUnknown()
322 *ppv = &This->IUnknown_iface; in unk_QueryInterface()
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()
406 SafeArrayPutElement(sa, &saindex, &unk_obj.IUnknown_iface); in test_copy()
408 SafeArrayPutElement(sa, &saindex, &unk_obj.IUnknown_iface); in test_copy()
H A Dusrmarshal.c578 IUnknown IUnknown_iface; member
584 return CONTAINING_RECORD(iface, TestUnknown, IUnknown_iface); in impl_from_IUnknown()
714 unk = &Test_Unknown.IUnknown_iface; in marshal_WdtpInterfacePointer()
751 unk2 = &Test_Unknown2.IUnknown_iface; in marshal_WdtpInterfacePointer()
802 IUnknown *unk = &Test_Unknown.IUnknown_iface; in marshal_STGMEDIUM()
841 med2.pUnkForRelease = &Test_Unknown2.IUnknown_iface; in marshal_STGMEDIUM()
911 med2.pUnkForRelease = &Test_Unknown2.IUnknown_iface; in marshal_STGMEDIUM()
969 med2.pUnkForRelease = &Test_Unknown2.IUnknown_iface; in marshal_STGMEDIUM()
1367 med.pUnkForRelease = &Test_Unknown.IUnknown_iface; in test_GetDataHere_Proxy()
1388 med.pUnkForRelease = &Test_Unknown.IUnknown_iface; in test_GetDataHere_Proxy()
[all …]
H A Dmoniker.c204 IUnknown IUnknown_iface; member
210 return CONTAINING_RECORD(iface, HeapUnknown, IUnknown_iface); in impl_from_IUnknown()
1941 unknown->IUnknown_iface.lpVtbl = &HeapUnknown_Vtbl; in test_bind_context()
1943 hr = IBindCtx_RegisterObjectParam(pBindCtx, (WCHAR *)wszParamName, &unknown->IUnknown_iface); in test_bind_context()
1968 unknown2->IUnknown_iface.lpVtbl = &HeapUnknown_Vtbl; in test_bind_context()
1970 hr = IBindCtx_RegisterObjectBound(pBindCtx, &unknown2->IUnknown_iface); in test_bind_context()
1973 hr = IBindCtx_RevokeObjectBound(pBindCtx, &unknown2->IUnknown_iface); in test_bind_context()
1976 hr = IBindCtx_RevokeObjectBound(pBindCtx, &unknown2->IUnknown_iface); in test_bind_context()
1981 refs = IUnknown_Release(&unknown->IUnknown_iface); in test_bind_context()
1984 refs = IUnknown_Release(&unknown2->IUnknown_iface); in test_bind_context()
H A Dcompobj.c1873 IUnknown IUnknown_iface; member
1938 test_object->IUnknown_iface.lpVtbl = &TestCallContext_Vtbl; in test_CoGetCallContext()
1948 refs = IUnknown_AddRef(&test_object->IUnknown_iface); in test_CoGetCallContext()
1950 IUnknown_Release(&test_object->IUnknown_iface); in test_CoGetCallContext()
1956 &test_object->IUnknown_iface, pUnk); in test_CoGetCallContext()
1957 refs = IUnknown_AddRef(&test_object->IUnknown_iface); in test_CoGetCallContext()
1959 IUnknown_Release(&test_object->IUnknown_iface); in test_CoGetCallContext()
1966 &test_object->IUnknown_iface, pUnk); in test_CoGetCallContext()
1967 refs = IUnknown_AddRef(&test_object->IUnknown_iface); in test_CoGetCallContext()
1969 IUnknown_Release(&test_object->IUnknown_iface); in test_CoGetCallContext()
[all …]
/reactos/dll/win32/mshtml/
H A Difacewrap.c28 IUnknown IUnknown_iface; member
36 return CONTAINING_RECORD(iface, iface_wrapper_t, IUnknown_iface); in impl_from_IUnknown()
319 wrapper->IUnknown_iface.lpVtbl = (const IUnknownVtbl*)wrapper_vtbl; in wrap_iface()
328 *ret = &wrapper->IUnknown_iface; in wrap_iface()
H A Ddispex.c67 IUnknown IUnknown_iface; member
630 return CONTAINING_RECORD(iface, func_disp_t, IUnknown_iface); in impl_from_IUnknown()
640 *ppv = &This->IUnknown_iface; in Function_QueryInterface()
768 ret->IUnknown_iface.lpVtbl = &FunctionUnkVtbl; in create_func_disp()
769 init_dispex(&ret->dispex, &ret->IUnknown_iface, &function_dispex); in create_func_disp()
/reactos/dll/directx/wine/qcap/
H A Daudiorecord.c38 IUnknown IUnknown_iface; member
47 return CONTAINING_RECORD(iface, AudioRecord, IUnknown_iface); in impl_from_IUnknown()
283 This->IUnknown_iface.lpVtbl = &UnknownVtbl; in QCAP_createAudioCaptureFilter()
288 This->outerUnknown = &This->IUnknown_iface; in QCAP_createAudioCaptureFilter()
H A Dsmartteefilter.c39 IUnknown IUnknown_iface; member
49 return CONTAINING_RECORD(iface, SmartTeeFilter, IUnknown_iface); in impl_from_IUnknown()
79 *ppv = &This->IUnknown_iface; in Unknown_QueryInterface()
656 This->IUnknown_iface.lpVtbl = &UnknownVtbl; in QCAP_createSmartTeeFilter()
660 This->outerUnknown = &This->IUnknown_iface; in QCAP_createSmartTeeFilter()
689 return &This->IUnknown_iface; in QCAP_createSmartTeeFilter()
/reactos/dll/win32/shlwapi/
H A Dthread.c125 IUnknown IUnknown_iface; member
131 return CONTAINING_RECORD(iface, threadref, IUnknown_iface); in impl_from_IUnknown()
207 This->IUnknown_iface.lpVtbl = &threadref_vt; in SHCreateThreadRef()
211 *lppUnknown = &This->IUnknown_iface; in SHCreateThreadRef()
/reactos/dll/win32/urlmon/
H A Dbinding.c33 IUnknown IUnknown_iface; member
352 *ppv = &This->IUnknown_iface; in StgMedUnk_QueryInterface()
353 IUnknown_AddRef(&This->IUnknown_iface); in StgMedUnk_QueryInterface()
401 ret->IUnknown_iface.lpVtbl = &StgMedUnkVtbl; in create_stgmed_buf()
474 IUnknown_Release(&This->buf->IUnknown_iface); in ProtocolStream_Release()
674 stgmed->pUnkForRelease = &stream->buf->IUnknown_iface; in stgmed_stream_fill_stgmed()
711 IUnknown_AddRef(&buf->IUnknown_iface); in create_stgmed_stream()
723 IUnknown_Release(&file_obj->buf->IUnknown_iface); in stgmed_file_release()
740 stgmed->pUnkForRelease = &file_obj->buf->IUnknown_iface; in stgmed_file_fill_stgmed()
762 IUnknown_AddRef(&buf->IUnknown_iface); in create_stgmed_file()
[all …]
/reactos/modules/rostests/winetests/avifil32/
H A Dapi.c545 IUnknown IUnknown_iface; member
552 return CONTAINING_RECORD(iface, struct unk_impl, IUnknown_iface); in impl_from_IUnknown()
612 hr = CoCreateInstance(&CLSID_AVIFile, &unk_obj.IUnknown_iface, CLSCTX_INPROC_SERVER, in test_COM()
615 hr = IUnknown_QueryInterface(&unk_obj.IUnknown_iface, &IID_IAVIFile, (void**)&avif); in test_COM()
663 hr = CoCreateInstance(&CLSID_WAVFile, &unk_obj.IUnknown_iface, CLSCTX_INPROC_SERVER, in test_COM_wavfile()
666 hr = IUnknown_QueryInterface(&unk_obj.IUnknown_iface, &IID_IAVIFile, (void**)&avif); in test_COM_wavfile()
/reactos/modules/rostests/winetests/qedit/
H A Dmediadet.c35 IUnknown IUnknown_iface; member
42 return CONTAINING_RECORD(iface, struct unk_impl, IUnknown_iface); in impl_from_IUnknown()
146 hr = CoCreateInstance(&CLSID_MediaDet, &unk_obj.IUnknown_iface, CLSCTX_INPROC_SERVER, in test_mediadet()
540 hr = CoCreateInstance(&CLSID_SampleGrabber, &unk_obj.IUnknown_iface, CLSCTX_INPROC_SERVER, in test_samplegrabber()
/reactos/dll/win32/ole32/
H A Ddefaulthandler.c88 IUnknown IUnknown_iface; member
158 return CONTAINING_RECORD(iface, DefaultHandler, IUnknown_iface); in impl_from_IUnknown()
1588 return IUnknown_AddRef(&This->IUnknown_iface); in DefaultHandler_IAdviseSink_AddRef()
1596 return IUnknown_Release(&This->IUnknown_iface); in DefaultHandler_IAdviseSink_Release()
2075 This->IUnknown_iface.lpVtbl = &DefaultHandler_NDIUnknown_VTable; in DefaultHandler_Construct()
2096 pUnkOuter = &This->IUnknown_iface; in DefaultHandler_Construct()
2272 hr = IUnknown_QueryInterface(&newHandler->IUnknown_iface, riid, ppvObj); in OleCreateEmbeddingHelper()
2278 IUnknown_Release(&newHandler->IUnknown_iface); in OleCreateEmbeddingHelper()
H A Dmoniker.c1522 IUnknown IUnknown_iface; member
1531 return CONTAINING_RECORD(iface, MonikerMarshal, IUnknown_iface); in impl_from_IUnknown()
1682 This->IUnknown_iface.lpVtbl = &VT_MonikerMarshalInner; in MonikerMarshal_Create()
1687 *outer = &This->IUnknown_iface; in MonikerMarshal_Create()
/reactos/modules/rostests/winetests/urlmon/
H A Dmisc.c2071 IUnknown IUnknown_iface; member
2077 return CONTAINING_RECORD(iface, RefUnk, IUnknown_iface); in impl_from_IUnknown()
2190 bindinfo.stgmedData.pUnkForRelease = &unk_in.IUnknown_iface; in test_bsc_marshaling()
2209 rem_bindinfo.stgmedData.pUnkForRelease = &unk_out.IUnknown_iface; in test_bsc_marshaling()
2260 ok(bindinfo.stgmedData.pUnkForRelease == &unk_in.IUnknown_iface, "pUnkForRelease = %p\n", in test_bsc_marshaling()
2319 rem_bindinfo.stgmedData.pUnkForRelease = &unk_out.IUnknown_iface; in test_bsc_marshaling()
2405 bindinfo.stgmedData.pUnkForRelease = &unk_in.IUnknown_iface; in test_bsc_marshaling()
2424 rem_bindinfo.stgmedData.pUnkForRelease = &unk_out.IUnknown_iface; in test_bsc_marshaling()
2536 rem_bindinfo.stgmedData.pUnkForRelease = &unk_out.IUnknown_iface; in test_bsc_marshaling()
2622 stgmed.pUnkForRelease = &unk_in.IUnknown_iface; in test_bsc_marshaling()
[all …]
/reactos/modules/rostests/winetests/oleaut32/
H A Dusrmarshal.c675 IUnknown IUnknown_iface; member
681 return CONTAINING_RECORD(iface, HeapUnknown, IUnknown_iface); in impl_from_IUnknown()
1474 heap_unknown->IUnknown_iface.lpVtbl = &HeapUnknown_Vtbl; in test_marshal_VARIANT()
1479 V_UNKNOWN(&v) = &heap_unknown->IUnknown_iface; in test_marshal_VARIANT()
1502 V_UNKNOWN(&v3) = &heap_unknown->IUnknown_iface; in test_marshal_VARIANT()
1512 IUnknown_Release(&heap_unknown->IUnknown_iface); in test_marshal_VARIANT()
1540 heap_unknown->IUnknown_iface.lpVtbl = &HeapUnknown_Vtbl; in test_marshal_VARIANT()
1572 V_UNKNOWN(&v3) = &heap_unknown->IUnknown_iface; in test_marshal_VARIANT()
1581 IUnknown_Release(&heap_unknown->IUnknown_iface); in test_marshal_VARIANT()
H A Dsafearray.c1242 IUnknown IUnknown_iface; member
1289 hres = SafeArrayPutElement(sa, indices, &xtunk.IUnknown_iface); in test_SafeArrayGetPutElement_IUnknown()
1297 … ok(gotvalue == &xtunk.IUnknown_iface, "Got %p instead of %p\n", gotvalue, &xtunk.IUnknown_iface); in test_SafeArrayGetPutElement_IUnknown()
1321 hres = SafeArrayPutElement(sa, indices, &xtunk.IUnknown_iface); in test_SafeArrayRedim_IUnknown()
/reactos/modules/rostests/winetests/riched20/
H A Dtxtsrv.c790 IUnknown IUnknown_iface; member
797 return CONTAINING_RECORD(iface, struct unk_impl, IUnknown_iface); in impl_from_IUnknown()
837 hr = pCreateTextServices(&unk_obj.IUnknown_iface, &texthost.ITextHost_iface, in test_COM()
/reactos/modules/rostests/winetests/rpcrt4/
H A Dcstub.c752 IUnknown IUnknown_iface; member
758 return CONTAINING_RECORD(iface, struct dummy_unknown, IUnknown_iface); in impl_from_IUnknown()
803 r = IPSFactoryBuffer_CreateProxy(ppsf, &dummy_unknown.IUnknown_iface, iid, &proxy, in create_proxy_test()
/reactos/modules/rostests/winetests/xmllite/
H A Dreader.c374 IUnknown IUnknown_iface; member
380 return CONTAINING_RECORD(iface, testinput, IUnknown_iface); in impl_from_IUnknown()
431 input->IUnknown_iface.lpVtbl = &testinput_vtbl; in testinput_createinstance()
434 *ppObj = &input->IUnknown_iface; in testinput_createinstance()
/reactos/dll/win32/oleaut32/
H A Dtypelib.c2865 IUnknown IUnknown_iface; member
2927 This->IUnknown_iface.lpVtbl = &TLB_PEFile_Vtable; in TLB_PEFile_Open()
2952 *ppFile = &This->IUnknown_iface; in TLB_PEFile_Open()
2962 TLB_PEFile_Release(&This->IUnknown_iface); in TLB_PEFile_Open()
2968 IUnknown IUnknown_iface; member
3155 This->IUnknown_iface.lpVtbl = &TLB_NEFile_Vtable; in TLB_NEFile_Open()
3175 *ppFile = &This->IUnknown_iface; in TLB_NEFile_Open()
3182 TLB_NEFile_Release(&This->IUnknown_iface); in TLB_NEFile_Open()
3188 IUnknown IUnknown_iface; member
3268 *ppFile = &This->IUnknown_iface; in TLB_Mapping_Open()
[all …]

12