1 #ifndef PRECOMP_H__ 2 #define PRECOMP_H__ 3 4 #define BDAPLGIN_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 <bdamedia.h> 20 #include <assert.h> 21 22 typedef HRESULT (CALLBACK *LPFNCREATEINSTANCE)(IUnknown* pUnkOuter, REFIID riid, LPVOID* ppvObject); 23 24 typedef struct 25 { 26 const GUID* riid; 27 LPFNCREATEINSTANCE lpfnCI; 28 } INTERFACE_TABLE; 29 30 /* classfactory.cpp */ 31 IClassFactory * 32 CClassFactory_fnConstructor( 33 LPFNCREATEINSTANCE lpfnCI, 34 PLONG pcRefDll, 35 IID * riidInst); 36 37 /* devicecontrol.cpp */ 38 HRESULT 39 WINAPI 40 CBDADeviceControl_fnConstructor( 41 IUnknown * pUnkOuter, 42 REFIID riid, 43 LPVOID * ppv); 44 45 46 /* pincontrol.cpp */ 47 HRESULT 48 WINAPI 49 CBDAPinControl_fnConstructor( 50 IUnknown * pUnkOuter, 51 REFIID riid, 52 LPVOID * ppv); 53 54 /* controlnode.cpp */ 55 56 HRESULT 57 WINAPI 58 CControlNode_fnConstructor( 59 IBaseFilter * pFilter, 60 ULONG NodeType, 61 ULONG PinId, 62 REFIID riid, 63 LPVOID * ppv); 64 65 /* frequencyfilter.cpp */ 66 67 HRESULT 68 WINAPI 69 CBDAFrequencyFilter_fnConstructor( 70 IKsPropertySet * pProperty, 71 ULONG NodeId, 72 REFIID riid, 73 LPVOID * ppv); 74 75 /* signalstatistics.cpp */ 76 77 HRESULT 78 WINAPI 79 CBDASignalStatistics_fnConstructor( 80 IKsPropertySet * pProperty, 81 ULONG NodeId, 82 REFIID riid, 83 LPVOID * ppv); 84 85 /* lnbinfo.cpp */ 86 87 HRESULT 88 WINAPI 89 CBDALNBInfo_fnConstructor( 90 IKsPropertySet * pProperty, 91 ULONG NodeId, 92 REFIID riid, 93 LPVOID * ppv); 94 95 /* digitaldemo.cpp */ 96 HRESULT 97 WINAPI 98 CBDADigitalDemodulator_fnConstructor( 99 IKsPropertySet * pProperty, 100 ULONG NodeId, 101 REFIID riid, 102 LPVOID * ppv); 103 104 extern const GUID IID_IKsObject; 105 106 #endif 107