This file is indexed.

/usr/i686-w64-mingw32/include/mspterm.h is in mingw-w64-i686-dev 2.0.3-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
/**
 * This file has no copyright assigned and is placed in the Public Domain.
 * This file is part of the w64 mingw-runtime package.
 * No warranty is given; refer to the file DISCLAIMER.PD within this package.
 */
#ifndef _MSPTERM_H_
#define _MSPTERM_H_

template <class T> class ITTerminalVtblBase : public ITTerminal {
};

class CBaseTerminal : virtual public CComObjectRootEx<CComMultiThreadModelNoCS>,public IDispatchImpl<ITTerminalVtblBase<CBaseTerminal>,&IID_ITTerminal,&LIBID_TAPI3Lib>,public ITTerminalControl
{
  BEGIN_COM_MAP(CBaseTerminal)
    COM_INTERFACE_ENTRY(IDispatch)
    COM_INTERFACE_ENTRY(ITTerminal)
    COM_INTERFACE_ENTRY(ITTerminalControl)
    COM_INTERFACE_ENTRY_AGGREGATE(IID_IMarshal,m_pFTM)
  END_COM_MAP()
  DECLARE_VQI()
  DECLARE_GET_CONTROLLING_UNKNOWN()
public:
  CBaseTerminal();
  virtual ~CBaseTerminal();
public:
  STDMETHOD(get_TerminalClass)(BSTR *pVal);
  STDMETHOD(get_TerminalType)(TERMINAL_TYPE *pVal);
  STDMETHOD(get_State)(TERMINAL_STATE *pVal);
  STDMETHOD(get_Name)(BSTR *pVal);
  STDMETHOD(get_MediaType)(long *plMediaType);
  STDMETHOD(get_Direction)(TERMINAL_DIRECTION *pDirection);
public:
  virtual HRESULT Initialize(IID iidTerminalClass,DWORD dwMediaType,TERMINAL_DIRECTION Direction,MSP_HANDLE htAddress);
public:
  STDMETHOD (get_AddressHandle)(MSP_HANDLE *phtAddress);
  STDMETHOD (ConnectTerminal)(IGraphBuilder *pGraph,DWORD dwTerminalDirection,DWORD *pdwNumPins,IPin **ppPins);
  STDMETHOD (CompleteConnectTerminal)(void);
  STDMETHOD (DisconnectTerminal)(IGraphBuilder *pGraph,DWORD dwReserved);
  STDMETHOD (RunRenderFilter)(void) = 0;
  STDMETHOD (StopRenderFilter)(void) = 0;
protected:
  CMSPCritSection m_CritSec;
public:
  TERMINAL_DIRECTION m_TerminalDirection;
  TERMINAL_TYPE m_TerminalType;
  TERMINAL_STATE m_TerminalState;
  TCHAR m_szName[MAX_PATH + 1];
  IID m_TerminalClassID;
  DWORD m_dwMediaType;
  MSP_HANDLE m_htAddress;
  IUnknown *m_pFTM;
  CComPtr<IGraphBuilder> m_pGraph;
  virtual HRESULT AddFiltersToGraph() = 0;
  virtual HRESULT ConnectFilters() { return S_OK; }
  virtual HRESULT GetNumExposedPins(IGraphBuilder *pGraph,DWORD *pdwNumPins) = 0;
  virtual HRESULT GetExposedPins(IPin **ppPins) = 0;
  virtual DWORD GetSupportedMediaTypes(void) = 0;
  virtual HRESULT RemoveFiltersFromGraph() = 0;
  WINBOOL MediaTypeSupported(long lMediaType);
};

class CSingleFilterTerminal : public CBaseTerminal {
public:
  CComPtr<IPin> m_pIPin;
  CComPtr<IBaseFilter> m_pIFilter;
public:
  STDMETHOD(RunRenderFilter)(void);
  STDMETHOD(StopRenderFilter)(void);
  virtual HRESULT GetNumExposedPins(IGraphBuilder *pGraph,DWORD *pdwNumPins);
  virtual HRESULT GetExposedPins(IPin **ppPins);
  virtual HRESULT RemoveFiltersFromGraph();
};

class CSingleFilterStaticTerminal : public CSingleFilterTerminal {
public:
  CComPtr<IMoniker> m_pMoniker;
  WINBOOL m_bMark;
  virtual HRESULT CompareMoniker(IMoniker *pMoniker);
};
#endif