Support unrar64.dll
[xy_vsfilter.git] / src / apps / mplayerc / IGraphBuilder2.h
blob5da815ef210073d10273762ccc94e677485813f3
1 /*
2 * Copyright (C) 2003-2006 Gabest
3 * http://www.gabest.org
5 * This Program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2, or (at your option)
8 * any later version.
9 *
10 * This Program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with GNU Make; see the file COPYING. If not, write to
17 * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
18 * http://www.gnu.org/copyleft/gpl.html
22 #pragma once
24 [uuid("165BE9D6-0929-4363-9BA3-580D735AA0F6")]
25 interface IGraphBuilder2 : public IFilterGraph2
27 STDMETHOD(IsPinDirection) (IPin* pPin, PIN_DIRECTION dir) = 0;
28 STDMETHOD(IsPinConnected) (IPin* pPin) = 0;
29 STDMETHOD(ConnectFilter) (IBaseFilter* pBF, IPin* pPinIn) = 0;
30 STDMETHOD(ConnectFilter) (IPin* pPinOut, IBaseFilter* pBF) = 0;
31 STDMETHOD(ConnectFilterDirect) (IPin* pPinOut, IBaseFilter* pBF, const AM_MEDIA_TYPE* pmt) = 0;
32 STDMETHOD(NukeDownstream) (IUnknown* pUnk) = 0;
33 STDMETHOD(FindInterface) (REFIID iid, void** ppv, BOOL bRemove) = 0;
34 STDMETHOD(AddToROT) () = 0;
35 STDMETHOD(RemoveFromROT) () = 0;
38 // private use only
39 [uuid("43CDA93D-6A4E-4A07-BD3E-49D161073EE7")]
40 interface IGraphBuilderDeadEnd : public IUnknown
42 STDMETHOD_(size_t, GetCount)() = 0;
43 STDMETHOD(GetDeadEnd) (int iIndex, CAtlList<CStringW>& path, CAtlList<CMediaType>& mts) = 0;