Commit 94579372 authored by Maarten Lankhorst's avatar Maarten Lankhorst Committed by Alexandre Julliard

quartz: Implement AsyncReader_FindPin.

parent 7e5da860
......@@ -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)
{
FIXME("(%s, %p)\n", debugstr_w(Id), ppPin);
AsyncReader *This = (AsyncReader *)iface;
TRACE("(%s, %p)\n", debugstr_w(Id), ppPin);
if (!Id || !ppPin)
return E_POINTER;
return E_NOTIMPL;
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 =
......
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