Commit 7180775a authored by Christian Costa's avatar Christian Costa Committed by Alexandre Julliard

Forward CLSID_FilterGraphNoThread to CLSID_FilterGraph.

parent 034ebcc1
...@@ -3039,7 +3039,8 @@ static IMediaEventSinkVtbl IMediaEventSink_VTable = ...@@ -3039,7 +3039,8 @@ static IMediaEventSinkVtbl IMediaEventSink_VTable =
}; };
/* This is the only function that actually creates a FilterGraph class... */ /* This is the only function that actually creates a FilterGraph class... */
HRESULT FILTERGRAPH_create(IUnknown *pUnkOuter, LPVOID *ppObj) { HRESULT FilterGraph_create(IUnknown *pUnkOuter, LPVOID *ppObj)
{
IFilterGraphImpl *fimpl; IFilterGraphImpl *fimpl;
HRESULT hr; HRESULT hr;
...@@ -3084,3 +3085,9 @@ HRESULT FILTERGRAPH_create(IUnknown *pUnkOuter, LPVOID *ppObj) { ...@@ -3084,3 +3085,9 @@ HRESULT FILTERGRAPH_create(IUnknown *pUnkOuter, LPVOID *ppObj) {
*ppObj = fimpl; *ppObj = fimpl;
return S_OK; return S_OK;
} }
HRESULT FilterGraphNoThread_create(IUnknown *pUnkOuter, LPVOID *ppObj)
{
FIXME("CLSID_FilterGraphNoThread partially implemented - Forwarding to CLSID_FilterGraph\n");
return FilterGraph_create(pUnkOuter, ppObj);
}
...@@ -60,7 +60,8 @@ struct object_creation_info ...@@ -60,7 +60,8 @@ struct object_creation_info
static const struct object_creation_info object_creation[] = static const struct object_creation_info object_creation[] =
{ {
{ &CLSID_FilterGraph, FILTERGRAPH_create }, { &CLSID_FilterGraph, FilterGraph_create },
{ &CLSID_FilterGraphNoThread, FilterGraphNoThread_create },
{ &CLSID_FilterMapper, FilterMapper2_create }, { &CLSID_FilterMapper, FilterMapper2_create },
{ &CLSID_FilterMapper2, FilterMapper2_create }, { &CLSID_FilterMapper2, FilterMapper2_create },
{ &CLSID_AsyncReader, AsyncReader_create }, { &CLSID_AsyncReader, AsyncReader_create },
......
...@@ -41,7 +41,8 @@ ...@@ -41,7 +41,8 @@
#define ICOM_THIS_MULTI(impl,field,iface) impl* const This=(impl*)((char*)(iface) - offsetof(impl,field)) #define ICOM_THIS_MULTI(impl,field,iface) impl* const This=(impl*)((char*)(iface) - offsetof(impl,field))
HRESULT FILTERGRAPH_create(IUnknown *pUnkOuter, LPVOID *ppObj) ; HRESULT FilterGraph_create(IUnknown *pUnkOuter, LPVOID *ppObj);
HRESULT FilterGraphNoThread_create(IUnknown *pUnkOuter, LPVOID *ppObj);
HRESULT FilterMapper2_create(IUnknown *pUnkOuter, LPVOID *ppObj); HRESULT FilterMapper2_create(IUnknown *pUnkOuter, LPVOID *ppObj);
HRESULT AsyncReader_create(IUnknown * pUnkOuter, LPVOID * ppv); HRESULT AsyncReader_create(IUnknown * pUnkOuter, LPVOID * ppv);
HRESULT StdMemAllocator_create(IUnknown * pUnkOuter, LPVOID * ppv); HRESULT StdMemAllocator_create(IUnknown * pUnkOuter, LPVOID * ppv);
......
...@@ -850,6 +850,12 @@ static struct regsvr_coclass const coclass_list[] = { ...@@ -850,6 +850,12 @@ static struct regsvr_coclass const coclass_list[] = {
"quartz.dll", "quartz.dll",
"Both" "Both"
}, },
{ &CLSID_FilterGraphNoThread,
"Filter Graph",
NULL,
"quartz.dll",
"Both"
},
{ &CLSID_FilterMapper, { &CLSID_FilterMapper,
"Filter Mapper", "Filter Mapper",
NULL, NULL,
......
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