sync with trunk r46493
[reactos.git] / dll / directx / msdvbnp / precomp.h
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 } INTERFACE_TABLE;
32
33 /* classfactory.cpp */
34 IClassFactory *
35 CClassFactory_fnConstructor(
36 LPFNCREATEINSTANCE lpfnCI,
37 PLONG pcRefDll,
38 IID * riidInst);
39
40 /* networkprovider.cpp */
41 HRESULT
42 WINAPI
43 CNetworkProvider_fnConstructor(
44 IUnknown *pUnknown,
45 REFIID riid,
46 LPVOID * ppv);
47
48 /* scanningtunner.cpp */
49 HRESULT
50 WINAPI
51 CScanningTunner_fnConstructor(
52 std::vector<IUnknown*> & m_DeviceFilter,
53 REFIID riid,
54 LPVOID * ppv);
55
56 /* enumpins.cpp */
57 HRESULT
58 WINAPI
59 CEnumPins_fnConstructor(
60 IUnknown *pUnknown,
61 ULONG NumPins,
62 IPin ** pins,
63 REFIID riid,
64 LPVOID * ppv);
65
66 /* pin.cpp */
67 HRESULT
68 WINAPI
69 CPin_fnConstructor(
70 IUnknown *pUnknown,
71 IBaseFilter * ParentFilter,
72 REFIID riid,
73 LPVOID * ppv);
74
75 /* enum_mediatypes.cpp */
76 HRESULT
77 WINAPI
78 CEnumMediaTypes_fnConstructor(
79 IUnknown *pUnknown,
80 ULONG MediaTypeCount,
81 AM_MEDIA_TYPE * MediaTypes,
82 REFIID riid,
83 LPVOID * ppv);
84
85 #ifndef _MSC_VER
86 extern const GUID CLSID_DVBTNetworkProvider;
87 #endif
88
89 #endif