ReactOS  0.4.15-dev-494-g1d8c567
precomp.h
Go to the documentation of this file.
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 
26 
27 typedef struct
28 {
29  const GUID* riid;
33 
34 /* classfactory.cpp */
38  PLONG pcRefDll,
39  IID * riidInst);
40 
41 /* networkprovider.cpp */
42 HRESULT
43 WINAPI
46  REFIID riid,
47  LPVOID * ppv);
48 
49 /* scanningtunner.cpp */
50 HRESULT
51 WINAPI
53  std::vector<IUnknown*> & m_DeviceFilter,
54  REFIID riid,
55  LPVOID * ppv);
56 
57 /* enumpins.cpp */
58 HRESULT
59 WINAPI
62  ULONG NumPins,
63  IPin ** pins,
64  REFIID riid,
65  LPVOID * ppv);
66 
67 /* pin.cpp */
68 HRESULT
69 WINAPI
72  IBaseFilter * ParentFilter,
73  REFIID riid,
74  LPVOID * ppv);
75 
76 /* enum_mediatypes.cpp */
77 HRESULT
78 WINAPI
81  ULONG MediaTypeCount,
82  AM_MEDIA_TYPE * MediaTypes,
83  REFIID riid,
84  LPVOID * ppv);
85 
86 /* ethernetfilter.cpp */
87 HRESULT
88 WINAPI
90  IBDA_NetworkProvider * pNetworkProvider,
91  REFIID riid,
92  LPVOID * ppv);
93 
94 /* ipv6.cpp */
95 HRESULT
96 WINAPI
98  IBDA_NetworkProvider * pNetworkProvider,
99  REFIID riid,
100  LPVOID * ppv);
101 
102 /* ipv4.cpp */
103 HRESULT
104 WINAPI
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
HRESULT WINAPI CEnumMediaTypes_fnConstructor(ULONG MediaTypeCount, AM_MEDIA_TYPE *MediaTypes, REFIID riid, LPVOID *ppv)
#define REFIID
Definition: guiddef.h:118
HRESULT WINAPI CScanningTunner_fnConstructor(std::vector< IUnknown * > &m_DeviceFilter, REFIID riid, LPVOID *ppv)
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185
REFIID riid
Definition: precomp.h:44
#define CALLBACK
Definition: compat.h:27
LPCWSTR ProviderName
Definition: precomp.h:31
REFIID LPVOID * ppv
Definition: atlbase.h:39
LPFNCREATEINSTANCE lpfnCI
Definition: shellole.c:61
IClassFactory * CClassFactory_fnConstructor(LPFNCREATEINSTANCE lpfnCI, PLONG pcRefDll, IID *riidInst)
HRESULT(CALLBACK * LPFNCREATEINSTANCE)(IUnknown *pUnkOuter, REFIID riid, LPVOID *ppvObject)
Definition: precomp.h:22
const GUID CLSID_DVBTNetworkProvider
HRESULT WINAPI CPin_fnConstructor(IUnknown *pUnknown, IBaseFilter *ParentFilter, REFIID riid, LPVOID *ppv)
Definition: pin.cpp:318
_In_ PUNKNOWN pUnknown
Definition: drmk.h:76
HRESULT WINAPI CEthernetFilter_fnConstructor(IBDA_NetworkProvider *pNetworkProvider, REFIID riid, LPVOID *ppv)
LONG HRESULT
Definition: typedefs.h:78
HRESULT WINAPI CEnumPins_fnConstructor(std::vector< IPin * > Pins, REFIID riid, LPVOID *ppv)
Definition: enumpins.cpp:151
#define WINAPI
Definition: msvc.h:6
REFIID LPVOID * ppvObject
Definition: precomp.h:44
HRESULT WINAPI CIPV6Filter_fnConstructor(IBDA_NetworkProvider *pNetworkProvider, REFIID riid, LPVOID *ppv)
Definition: ipv6.cpp:149
HRESULT WINAPI CIPV4Filter_fnConstructor(IBDA_NetworkProvider *pNetworkProvider, REFIID riid, LPVOID *ppv)
Definition: ipv4.cpp:152
Definition: axcore.idl:91
HRESULT WINAPI CNetworkProvider_fnConstructor(IUnknown *pUnknown, REFIID riid, LPVOID *ppv)
unsigned int ULONG
Definition: retypes.h:1
typedef HRESULT(CALLBACK *LPFNCREATEINSTANCE)(IUnknown *pUnkOuter
signed int * PLONG
Definition: retypes.h:5