quartz: Implement AsyncReader_FindPin.

This commit is contained in:
Maarten Lankhorst 2010-12-01 13:14:57 +01:00 committed by Alexandre Julliard
parent 7e5da86076
commit 945793722d
1 changed files with 14 additions and 2 deletions

View File

@ -489,9 +489,21 @@ static HRESULT WINAPI AsyncReader_Run(IBaseFilter * iface, REFERENCE_TIME tStart
static HRESULT WINAPI AsyncReader_FindPin(IBaseFilter * iface, LPCWSTR Id, IPin **ppPin) static HRESULT WINAPI AsyncReader_FindPin(IBaseFilter * iface, LPCWSTR Id, IPin **ppPin)
{ {
FIXME("(%s, %p)\n", debugstr_w(Id), ppPin); AsyncReader *This = (AsyncReader *)iface;
TRACE("(%s, %p)\n", debugstr_w(Id), ppPin);
return E_NOTIMPL; if (!Id || !ppPin)
return E_POINTER;
if (strcmpW(Id, wszOutputPinName))
{
*ppPin = NULL;
return VFW_E_NOT_FOUND;
}
*ppPin = (IPin*)This->pOutputPin;
IUnknown_AddRef(*ppPin);
return S_OK;
} }
static const IBaseFilterVtbl AsyncReader_Vtbl = static const IBaseFilterVtbl AsyncReader_Vtbl =