Allow querying of the IAMFilterMiscFlags interface

master
jp9000 2014-09-16 14:25:20 -07:00
parent fa3429f50b
commit ed8a37b576
1 changed files with 6 additions and 0 deletions

View File

@ -301,6 +301,12 @@ STDMETHODIMP CaptureFilter::QueryInterface(REFIID riid, void **ppv)
*ppv = (IBaseFilter*)this;
return NOERROR;
}
else if (riid == IID_IAMFilterMiscFlags)
{
flags->AddRef();
*ppv = flags;
return NOERROR;
}
else
{
*ppv = NULL;