1 #ifndef PRECOMP_H__ 2 #define PRECOMP_H__ 3 4 #define MSDVBNP_TRACE 5 #define BUILDING_KS 6 #define _KSDDK_ 7 #include <dshow.h> 8 //#include <streams.h> 9 #include <ks.h> 10 #define __STREAMS__ 11 #include <ksproxy.h> 12 #include <ksmedia.h> 13 #include <stdio.h> 14 #include <wchar.h> 15 #include <tchar.h> 16 #include <uuids.h> 17 #include <bdatypes.h> 18 #include <bdaiface.h> 19 #include <bdatif.h> 20 #include <bdamedia.h> 21 #include <tuner.h> 22 #include <assert.h> 23 #include <vector> 24 25 typedef HRESULT (CALLBACK *LPFNCREATEINSTANCE)(IUnknown* pUnkOuter, REFIID riid, LPVOID* ppvObject); 26 27 typedef struct 28 { 29 const GUID* riid; 30 LPFNCREATEINSTANCE lpfnCI; 31 LPCWSTR ProviderName; 32 } INTERFACE_TABLE; 33 34 /* classfactory.cpp */ 35 IClassFactory * 36 CClassFactory_fnConstructor( 37 LPFNCREATEINSTANCE lpfnCI, 38 PLONG pcRefDll, 39 IID * riidInst); 40 41 /* networkprovider.cpp */ 42 HRESULT 43 WINAPI 44 CNetworkProvider_fnConstructor( 45 IUnknown *pUnknown, 46 REFIID riid, 47 LPVOID * ppv); 48 49 /* scanningtunner.cpp */ 50 HRESULT 51 WINAPI 52 CScanningTunner_fnConstructor( 53 std::vector<IUnknown*> & m_DeviceFilter, 54 REFIID riid, 55 LPVOID * ppv); 56 57 /* enumpins.cpp */ 58 HRESULT 59 WINAPI 60 CEnumPins_fnConstructor( 61 IUnknown *pUnknown, 62 ULONG NumPins, 63 IPin ** pins, 64 REFIID riid, 65 LPVOID * ppv); 66 67 /* pin.cpp */ 68 HRESULT 69 WINAPI 70 CPin_fnConstructor( 71 IUnknown *pUnknown, 72 IBaseFilter * ParentFilter, 73 REFIID riid, 74 LPVOID * ppv); 75 76 /* enum_mediatypes.cpp */ 77 HRESULT 78 WINAPI 79 CEnumMediaTypes_fnConstructor( 80 IUnknown *pUnknown, 81 ULONG MediaTypeCount, 82 AM_MEDIA_TYPE * MediaTypes, 83 REFIID riid, 84 LPVOID * ppv); 85 86 /* ethernetfilter.cpp */ 87 HRESULT 88 WINAPI 89 CEthernetFilter_fnConstructor( 90 IBDA_NetworkProvider * pNetworkProvider, 91 REFIID riid, 92 LPVOID * ppv); 93 94 /* ipv6.cpp */ 95 HRESULT 96 WINAPI 97 CIPV6Filter_fnConstructor( 98 IBDA_NetworkProvider * pNetworkProvider, 99 REFIID riid, 100 LPVOID * ppv); 101 102 /* ipv4.cpp */ 103 HRESULT 104 WINAPI 105 CIPV4Filter_fnConstructor( 106 IBDA_NetworkProvider * pNetworkProvider, 107 REFIID riid, 108 LPVOID * ppv); 109 110 #ifndef _MSC_VER 111 extern const GUID CLSID_DVBTNetworkProvider; 112 #endif 113 114 #endif 115