Home
last modified time | relevance | path

Searched refs:factory (Results 1 – 25 of 54) sorted by relevance

123

/reactos/modules/rostests/winetests/windowscodecs/
H A Dbmpformat.c131 IWICImagingFactory *factory; in test_decode_24bpp() local
329 IWICImagingFactory *factory; in test_decode_1bpp() local
488 IWICImagingFactory *factory; in test_decode_4bpp() local
668 IWICImagingFactory *factory; in test_decode_rle8() local
835 IWICImagingFactory *factory; in test_decode_rle4() local
916 IWICImagingFactory *factory; in test_componentinfo() local
1009 IWICImagingFactory_Release(factory); in test_componentinfo()
1016 IWICImagingFactory *factory; in test_createfromstream() local
1058 IWICImagingFactory_Release(factory); in test_createfromstream()
1064 IWICImagingFactory *factory; in test_create_decoder() local
[all …]
H A Dbitmap.c98 static IWICImagingFactory *factory; variable
248 hr = IWICImagingFactory_CreatePalette(factory, &palette); in test_createbitmap()
484 hr = IWICImagingFactory_CreatePalette(factory, &palette); in test_createbitmapfromsource()
541 hr = IWICImagingFactory_CreatePalette(factory, &palette); in test_createbitmapfromsource()
577 hr = IWICImagingFactory_CreatePalette(factory, &palette); in test_createbitmapfromsource()
594 hr = IWICImagingFactory_CreatePalette(factory, &palette); in test_createbitmapfromsource()
881 hr = IWICImagingFactory_CreatePalette(factory, &palette); in test_CreateBitmapFromHBITMAP()
922 hr = IWICImagingFactory_CreatePalette(factory, &palette); in test_CreateBitmapFromHBITMAP()
1221 hr = IWICImagingFactory_CreatePalette(factory, &palette); in test_bitmap_scaler()
1476 &IID_IWICImagingFactory, (void**)&factory); in START_TEST()
[all …]
H A Dgifformat.c81 static IWICImagingFactory *factory; variable
139 hr = IWICImagingFactory_CreatePalette(factory, &palette); in test_global_gif_palette()
204 hr = IWICImagingFactory_CreatePalette(factory, &palette); in test_global_gif_palette_2frames()
306 hr = IWICImagingFactory_CreatePalette(factory, &palette); in test_local_gif_palette()
503 IWICImagingFactory *factory; in test_gif_notrailer() local
511 &IID_IWICImagingFactory, (void**)&factory); in test_gif_notrailer()
515 hr = IWICImagingFactory_CreateStream(factory, &gifstream); in test_gif_notrailer()
564 IWICImagingFactory_Release(factory); in test_gif_notrailer()
573 &IID_IWICImagingFactory, (void **)&factory); in START_TEST()
583 IWICImagingFactory_Release(factory); in START_TEST()
[all …]
H A Dpropertybag.c230 IWICComponentFactory *factory; in test_empty_propertybag() local
234 &IID_IWICComponentFactory, (void**)&factory); in test_empty_propertybag()
237 hr = IWICComponentFactory_CreateEncoderPropertyBag(factory, NULL, 0, &property); in test_empty_propertybag()
248 IWICComponentFactory_Release(factory); in test_empty_propertybag()
254 IWICComponentFactory *factory; in test_filled_propertybag() local
262 &IID_IWICComponentFactory, (void**)&factory); in test_filled_propertybag()
265 hr = IWICComponentFactory_CreateEncoderPropertyBag(factory, opts, 2, &property); in test_filled_propertybag()
280 IWICComponentFactory_Release(factory); in test_filled_propertybag()
H A Dinfo.c36 IWICImagingFactory *factory; in get_component_info() local
40 &IID_IWICImagingFactory, (void**)&factory); in get_component_info()
44 hr = IWICImagingFactory_CreateComponentInfo(factory, clsid, result); in get_component_info()
46 IWICImagingFactory_Release(factory); in get_component_info()
490 IWICImagingFactory *factory; in test_reader_info() local
505 &IID_IWICImagingFactory, (void**)&factory); in test_reader_info()
561 IWICImagingFactory_Release(factory); in test_reader_info()
637 IWICImagingFactory_Release(factory); in test_reader_info()
644 IWICImagingFactory *factory; in test_imagingfactory_interfaces() local
661 IWICImagingFactory_Release(factory); in test_imagingfactory_interfaces()
[all …]
H A Dicoformat.c139 IWICImagingFactory *factory; in test_ico_data_() local
145 &IID_IWICImagingFactory, (void**)&factory); in test_ico_data_()
149 hr = IWICImagingFactory_CreateStream(factory, &icostream); in test_ico_data_()
205 IWICImagingFactory_Release(factory); in test_ico_data_()
H A Dpngformat.c277 static IWICImagingFactory *factory; variable
293 hr = IWICImagingFactory_CreateDecoderFromStream(factory, stream, NULL, 0, decoder); in create_decoder()
395 hr = IWICImagingFactory_CreateColorContext(factory, NULL); in test_color_contexts()
398 hr = IWICImagingFactory_CreateColorContext(factory, &context); in test_color_contexts()
458 hr = IWICImagingFactory_CreateColorContext(factory, &context); in test_color_contexts()
576 hr = IWICImagingFactory_CreatePalette(factory, &palette); in test_png_palette()
607 hr = IWICImagingFactory_CreatePalette(factory, &palette); in test_png_palette()
633 hr = IWICImagingFactory_CreatePalette(factory, &palette); in test_png_palette()
931 &IID_IWICImagingFactory, (void **)&factory); in START_TEST()
939 IWICImagingFactory_Release(factory); in START_TEST()
H A Dpalette.c30 static IWICImagingFactory *factory; variable
42 hr = IWICImagingFactory_CreatePalette(factory, &palette); in test_custom_palette()
105 hr = IWICImagingFactory_CreatePalette(factory, &palette2); in test_custom_palette()
455 hr = IWICImagingFactory_CreatePalette(factory, &palette); in test_predefined_palette()
467 hr = IWICImagingFactory_CreatePalette(factory, &palette); in test_predefined_palette()
572 …hr = IWICImagingFactory_CreateBitmapFromMemory(factory, width, height, &GUID_WICPixelFormat24bppRG… in test_palette_from_bitmap()
576 hr = IWICImagingFactory_CreatePalette(factory, &palette); in test_palette_from_bitmap()
652 &IID_IWICImagingFactory, (void **)&factory); in START_TEST()
659 IWICImagingFactory_Release(factory); in START_TEST()
/reactos/dll/directx/wine/qedit/
H A Dmain.c162 IClassFactoryImpl *factory; in DllGetClassObject() local
182 factory = CoTaskMemAlloc(sizeof(*factory)); in DllGetClassObject()
183 if (factory == NULL) return E_OUTOFMEMORY; in DllGetClassObject()
185 factory->IClassFactory_iface.lpVtbl = &DSCF_Vtbl; in DllGetClassObject()
186 factory->ref = 1; in DllGetClassObject()
188 factory->pfnCreateInstance = object_creation[i].pfnCreateInstance; in DllGetClassObject()
190 *ppv = &factory->IClassFactory_iface; in DllGetClassObject()
/reactos/dll/directx/wine/amstream/
H A Dmain.c169 IClassFactoryImpl *factory; in DllGetClassObject() local
189 factory = HeapAlloc(GetProcessHeap(), 0, sizeof(*factory)); in DllGetClassObject()
190 if (factory == NULL) return E_OUTOFMEMORY; in DllGetClassObject()
192 factory->IClassFactory_iface.lpVtbl = &DSCF_Vtbl; in DllGetClassObject()
193 factory->ref = 1; in DllGetClassObject()
195 factory->pfnCreateInstance = object_creation[i].pfnCreateInstance; in DllGetClassObject()
197 *ppv = &factory->IClassFactory_iface; in DllGetClassObject()
/reactos/dll/directx/wine/d3dxof/
H A Dmain.c190 IClassFactoryImpl *factory; in DllGetClassObject() local
210 factory = HeapAlloc(GetProcessHeap(), 0, sizeof(*factory)); in DllGetClassObject()
211 if (factory == NULL) return E_OUTOFMEMORY; in DllGetClassObject()
213 factory->IClassFactory_iface.lpVtbl = &XFCF_Vtbl; in DllGetClassObject()
214 factory->ref = 1; in DllGetClassObject()
216 factory->pfnCreateInstance = object_creation[i].pfnCreateInstance; in DllGetClassObject()
218 *ppv = &(factory->IClassFactory_iface); in DllGetClassObject()
/reactos/dll/directx/wine/ddraw/
H A Dmain.c646 ULONG ref = InterlockedIncrement(&factory->ref); in ddraw_class_factory_AddRef()
648 TRACE("%p increasing refcount to %u.\n", factory, ref); in ddraw_class_factory_AddRef()
666 ULONG ref = InterlockedDecrement(&factory->ref); in ddraw_class_factory_Release()
668 TRACE("%p decreasing refcount to %u.\n", factory, ref); in ddraw_class_factory_Release()
671 heap_free(factory); in ddraw_class_factory_Release()
697 return factory->pfnCreateInstance(outer_unknown, riid, out); in ddraw_class_factory_CreateInstance()
733 struct ddraw_class_factory *factory; in DllGetClassObject() local
755 if (!(factory = heap_alloc_zero(sizeof(*factory)))) in DllGetClassObject()
758 factory->IClassFactory_iface.lpVtbl = &IClassFactory_Vtbl; in DllGetClassObject()
759 factory->ref = 1; in DllGetClassObject()
[all …]
/reactos/modules/rostests/winetests/itss/
H A Dprotocol.c543 IClassFactory *factory; in test_its_protocol() local
596 test_protocol_url(factory, blank_url1, TRUE); in test_its_protocol()
597 test_protocol_url(factory, blank_url2, TRUE); in test_its_protocol()
598 test_protocol_url(factory, blank_url3, TRUE); in test_its_protocol()
599 test_protocol_url(factory, blank_url4, TRUE); in test_its_protocol()
600 test_protocol_url(factory, blank_url5, TRUE); in test_its_protocol()
601 test_protocol_url(factory, blank_url6, TRUE); in test_its_protocol()
602 test_protocol_url(factory, blank_url8, TRUE); in test_its_protocol()
603 test_protocol_url(factory, blank_url9, TRUE); in test_its_protocol()
605 test_protocol_url(factory, blank_url1, TRUE); in test_its_protocol()
[all …]
/reactos/dll/win32/windowscodecsext/
H A Dmain.c64 IWICImagingFactory *factory; in WICCreateColorTransform_Proxy() local
73 &IID_IWICImagingFactory, (void **)&factory); in WICCreateColorTransform_Proxy()
79 hr = IWICImagingFactory_CreateColorTransformer(factory, ppIWICColorTransform); in WICCreateColorTransform_Proxy()
80 IWICImagingFactory_Release(factory); in WICCreateColorTransform_Proxy()
/reactos/dll/directx/wine/quartz/
H A Dmain.c192 IClassFactoryImpl *factory = CoTaskMemAlloc(sizeof(*factory)); in DllGetClassObject() local
193 if (factory == NULL) return E_OUTOFMEMORY; in DllGetClassObject()
195 factory->IClassFactory_iface.lpVtbl = &DSCF_Vtbl; in DllGetClassObject()
196 factory->ref = 1; in DllGetClassObject()
198 factory->pfnCreateInstance = object_creation[i].pfnCreateInstance; in DllGetClassObject()
200 *ppv = &factory->IClassFactory_iface; in DllGetClassObject()
/reactos/sdk/lib/3rdparty/strmbase/
H A Ddllfunc.c343 IClassFactoryImpl *factory; in STRMBASE_DllGetClassObject() local
377 factory = HeapAlloc(GetProcessHeap(), 0, sizeof(IClassFactoryImpl)); in STRMBASE_DllGetClassObject()
378 if (!factory) in STRMBASE_DllGetClassObject()
381 factory->IClassFactory_iface.lpVtbl = &DSCF_Vtbl; in STRMBASE_DllGetClassObject()
382 factory->ref = 1; in STRMBASE_DllGetClassObject()
384 factory->pfnCreateInstance = pList->m_lpfnNew; in STRMBASE_DllGetClassObject()
386 *ppv = &factory->IClassFactory_iface; in STRMBASE_DllGetClassObject()
/reactos/dll/directx/msvidctl/
H A Dclassfactory.cpp96 CClassFactory* factory = new CClassFactory(lpfnCI, pcRefDll, riidInst); in CClassFactory_fnConstructor() local
98 if (!factory) in CClassFactory_fnConstructor()
104 return (LPCLASSFACTORY)factory; in CClassFactory_fnConstructor()
/reactos/dll/directx/bdaplgin/
H A Dclassfactory.cpp96 CClassFactory* factory = new CClassFactory(lpfnCI, pcRefDll, riidInst); in CClassFactory_fnConstructor() local
98 if (!factory) in CClassFactory_fnConstructor()
104 return (LPCLASSFACTORY)factory; in CClassFactory_fnConstructor()
/reactos/dll/directx/msdvbnp/
H A Dclassfactory.cpp96 CClassFactory* factory = new CClassFactory(lpfnCI, pcRefDll, riidInst); in CClassFactory_fnConstructor() local
98 if (!factory) in CClassFactory_fnConstructor()
104 return (LPCLASSFACTORY)factory; in CClassFactory_fnConstructor()
/reactos/dll/directx/ksproxy/
H A Dclassfactory.cpp103 CClassFactory* factory = new CClassFactory(lpfnCI, pcRefDll, riidInst); in CClassFactory_fnConstructor() local
105 if (!factory) in CClassFactory_fnConstructor()
111 return (LPCLASSFACTORY)factory; in CClassFactory_fnConstructor()
/reactos/dll/win32/wbemdisp/
H A Dmain.c438 struct factory struct
444 static inline struct factory *impl_from_IClassFactory( IClassFactory *iface ) in impl_from_IClassFactory() argument
446 return CONTAINING_RECORD( iface, struct factory, IClassFactory_iface ); in impl_from_IClassFactory()
474 struct factory *factory = impl_from_IClassFactory( iface ); in factory_CreateInstance() local
483 hr = factory->fnCreateInstance( (LPVOID *)&unk ); in factory_CreateInstance()
507 static struct factory swbem_locator_cf = { { &factory_vtbl }, SWbemLocator_create };
508 static struct factory winmgmts_cf = { { &factory_vtbl }, WinMGMTS_create };
/reactos/modules/rostests/winetests/ole32/
H A Dole_server.c234 static ClassFactoryImpl factory = { { &ClassFactoryImpl_Vtbl }, 0 }; variable
247 hr = CoRegisterClassObject(&CLSID_WineTestObject, (IUnknown *)&factory.IClassFactory_iface, in ole_server()
376 IClassFactory *factory; in START_TEST() local
530 hr = CoGetClassObject(&clsid, CLSCTX_LOCAL_SERVER, NULL, &IID_IClassFactory, (void **)&factory); in START_TEST()
535 hr = IClassFactory_CreateInstance(factory, NULL, &IID_NULL, (void **)&oleobj); in START_TEST()
540 hr = IClassFactory_CreateInstance(factory, NULL, &IID_IOleObject, (void **)&oleobj); in START_TEST()
545 ret = IClassFactory_Release(factory); in START_TEST()
/reactos/dll/win32/itss/
H A Ditss.c165 const IClassFactoryImpl *factory; in DllGetClassObject() local
170 factory = &ITStorage_factory; in DllGetClassObject()
172 factory = &MSITStore_factory; in DllGetClassObject()
174 factory = &ITSProtocol_factory; in DllGetClassObject()
181 return IUnknown_QueryInterface( (IUnknown*) factory, iid, ppv ); in DllGetClassObject()
/reactos/modules/rostests/winetests/mshtml/
H A Dprotocol.c313 IClassFactory *factory; in test_res_protocol() local
508 hres = IUnknown_QueryInterface(unk, &IID_IClassFactory, (void**)&factory); in test_res_protocol()
588 IClassFactory_Release(factory); in test_res_protocol()
608 static void do_test_about_protocol(IClassFactory *factory, DWORD bf) in do_test_about_protocol() argument
668 IClassFactory *factory; in test_about_protocol() local
826 hres = IUnknown_QueryInterface(unk, &IID_IClassFactory, (void**)&factory); in test_about_protocol()
829 do_test_about_protocol(factory, 0); in test_about_protocol()
830 do_test_about_protocol(factory, in test_about_protocol()
833 IClassFactory_Release(factory); in test_about_protocol()
843 IClassFactory *factory; in test_javascript_protocol() local
[all …]
/reactos/dll/win32/oleaut32/
H A Doleaut.c955 IPSFactoryBuffer *factory; in dispatch_create_proxy() local
958 … hr = OLEAUTPS_DllGetClassObject(&CLSID_PSFactoryBuffer, &IID_IPSFactoryBuffer, (void **)&factory); in dispatch_create_proxy()
961 hr = IPSFactoryBuffer_CreateProxy(factory, outer, &IID_IDispatch, proxy, out); in dispatch_create_proxy()
962 IPSFactoryBuffer_Release(factory); in dispatch_create_proxy()
1001 IPSFactoryBuffer *factory; in dispatch_create_stub() local
1004 … hr = OLEAUTPS_DllGetClassObject(&CLSID_PSFactoryBuffer, &IID_IPSFactoryBuffer, (void **)&factory); in dispatch_create_stub()
1007 hr = IPSFactoryBuffer_CreateStub(factory, &IID_IDispatch, server, stub); in dispatch_create_stub()
1008 IPSFactoryBuffer_Release(factory); in dispatch_create_stub()

123