quartz: Return the proper interface for IFilterMapper.
This commit is contained in:
parent
6f7a212ce3
commit
92aaba0d6f
|
@ -180,6 +180,22 @@ HRESULT FilterMapper2_create(IUnknown *pUnkOuter, LPVOID *ppObj)
|
||||||
return S_OK;
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
HRESULT FilterMapper_create(IUnknown *pUnkOuter, LPVOID *ppObj)
|
||||||
|
{
|
||||||
|
FilterMapper2Impl *pFM2impl;
|
||||||
|
HRESULT hr;
|
||||||
|
|
||||||
|
TRACE("(%p, %p)\n", pUnkOuter, ppObj);
|
||||||
|
|
||||||
|
hr = FilterMapper2_create(pUnkOuter, (LPVOID*)&pFM2impl);
|
||||||
|
if (FAILED(hr))
|
||||||
|
return hr;
|
||||||
|
|
||||||
|
*ppObj = &pFM2impl->lpVtblFilterMapper;
|
||||||
|
|
||||||
|
return hr;
|
||||||
|
}
|
||||||
|
|
||||||
/*** IUnknown methods ***/
|
/*** IUnknown methods ***/
|
||||||
|
|
||||||
static HRESULT WINAPI FilterMapper2_QueryInterface(IFilterMapper2 * iface, REFIID riid, LPVOID *ppv)
|
static HRESULT WINAPI FilterMapper2_QueryInterface(IFilterMapper2 * iface, REFIID riid, LPVOID *ppv)
|
||||||
|
|
|
@ -62,7 +62,7 @@ static const struct object_creation_info object_creation[] =
|
||||||
{
|
{
|
||||||
{ &CLSID_FilterGraph, FilterGraph_create },
|
{ &CLSID_FilterGraph, FilterGraph_create },
|
||||||
{ &CLSID_FilterGraphNoThread, FilterGraphNoThread_create },
|
{ &CLSID_FilterGraphNoThread, FilterGraphNoThread_create },
|
||||||
{ &CLSID_FilterMapper, FilterMapper2_create },
|
{ &CLSID_FilterMapper, FilterMapper_create },
|
||||||
{ &CLSID_FilterMapper2, FilterMapper2_create },
|
{ &CLSID_FilterMapper2, FilterMapper2_create },
|
||||||
{ &CLSID_AsyncReader, AsyncReader_create },
|
{ &CLSID_AsyncReader, AsyncReader_create },
|
||||||
{ &CLSID_MemoryAllocator, StdMemAllocator_create },
|
{ &CLSID_MemoryAllocator, StdMemAllocator_create },
|
||||||
|
|
|
@ -44,6 +44,7 @@
|
||||||
HRESULT FilterGraph_create(IUnknown *pUnkOuter, LPVOID *ppObj);
|
HRESULT FilterGraph_create(IUnknown *pUnkOuter, LPVOID *ppObj);
|
||||||
HRESULT FilterGraphNoThread_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 FilterMapper_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);
|
||||||
HRESULT AVISplitter_create(IUnknown * pUnkOuter, LPVOID * ppv);
|
HRESULT AVISplitter_create(IUnknown * pUnkOuter, LPVOID * ppv);
|
||||||
|
|
Loading…
Reference in New Issue