source: trunk/DirectShowSpy/DirectShowSpy_i.h @ 147

Last change on this file since 147 was 147, checked in by roman, 10 years ago

COM registration UI

File size: 27.8 KB
Line 
1
2
3/* this ALWAYS GENERATED file contains the definitions for the interfaces */
4
5
6 /* File created by MIDL compiler version 7.00.0500 */
7/* at Fri Nov 23 00:35:10 2012
8 */
9/* Compiler settings for .\DirectShowSpy.idl:
10    Oicf, W1, Zp8, env=Win32 (32b run)
11    protocol : dce , ms_ext, c_ext, robust
12    error checks: stub_data
13    VC __declspec() decoration level:
14         __declspec(uuid()), __declspec(selectany), __declspec(novtable)
15         DECLSPEC_UUID(), MIDL_INTERFACE()
16*/
17//@@MIDL_FILE_HEADING(  )
18
19#pragma warning( disable: 4049 )  /* more than 64k source lines */
20
21
22/* verify that the <rpcndr.h> version is high enough to compile this file*/
23#ifndef __REQUIRED_RPCNDR_H_VERSION__
24#define __REQUIRED_RPCNDR_H_VERSION__ 475
25#endif
26
27#include "rpc.h"
28#include "rpcndr.h"
29
30#ifndef __RPCNDR_H_VERSION__
31#error this stub requires an updated version of <rpcndr.h>
32#endif // __RPCNDR_H_VERSION__
33
34#ifndef COM_NO_WINDOWS_H
35#include "windows.h"
36#include "ole2.h"
37#endif /*COM_NO_WINDOWS_H*/
38
39#ifndef __DirectShowSpy_i_h__
40#define __DirectShowSpy_i_h__
41
42#if defined(_MSC_VER) && (_MSC_VER >= 1020)
43#pragma once
44#endif
45
46/* Forward Declarations */ 
47
48#ifndef __ISpy_FWD_DEFINED__
49#define __ISpy_FWD_DEFINED__
50typedef interface ISpy ISpy;
51#endif  /* __ISpy_FWD_DEFINED__ */
52
53
54#ifndef __IFilterMapperSpy_FWD_DEFINED__
55#define __IFilterMapperSpy_FWD_DEFINED__
56typedef interface IFilterMapperSpy IFilterMapperSpy;
57#endif  /* __IFilterMapperSpy_FWD_DEFINED__ */
58
59
60#ifndef __ISystemDeviceEnumeratorSpy_FWD_DEFINED__
61#define __ISystemDeviceEnumeratorSpy_FWD_DEFINED__
62typedef interface ISystemDeviceEnumeratorSpy ISystemDeviceEnumeratorSpy;
63#endif  /* __ISystemDeviceEnumeratorSpy_FWD_DEFINED__ */
64
65
66#ifndef __IFilterGraphAddRemoveHook_FWD_DEFINED__
67#define __IFilterGraphAddRemoveHook_FWD_DEFINED__
68typedef interface IFilterGraphAddRemoveHook IFilterGraphAddRemoveHook;
69#endif  /* __IFilterGraphAddRemoveHook_FWD_DEFINED__ */
70
71
72#ifndef __IFilterGraphConnectHook_FWD_DEFINED__
73#define __IFilterGraphConnectHook_FWD_DEFINED__
74typedef interface IFilterGraphConnectHook IFilterGraphConnectHook;
75#endif  /* __IFilterGraphConnectHook_FWD_DEFINED__ */
76
77
78#ifndef __IFilterGraphStateControlHook_FWD_DEFINED__
79#define __IFilterGraphStateControlHook_FWD_DEFINED__
80typedef interface IFilterGraphStateControlHook IFilterGraphStateControlHook;
81#endif  /* __IFilterGraphStateControlHook_FWD_DEFINED__ */
82
83
84#ifndef __Spy_FWD_DEFINED__
85#define __Spy_FWD_DEFINED__
86
87#ifdef __cplusplus
88typedef class Spy Spy;
89#else
90typedef struct Spy Spy;
91#endif /* __cplusplus */
92
93#endif  /* __Spy_FWD_DEFINED__ */
94
95
96#ifndef __NoThreadSpy_FWD_DEFINED__
97#define __NoThreadSpy_FWD_DEFINED__
98
99#ifdef __cplusplus
100typedef class NoThreadSpy NoThreadSpy;
101#else
102typedef struct NoThreadSpy NoThreadSpy;
103#endif /* __cplusplus */
104
105#endif  /* __NoThreadSpy_FWD_DEFINED__ */
106
107
108#ifndef __FilterMapperSpy_FWD_DEFINED__
109#define __FilterMapperSpy_FWD_DEFINED__
110
111#ifdef __cplusplus
112typedef class FilterMapperSpy FilterMapperSpy;
113#else
114typedef struct FilterMapperSpy FilterMapperSpy;
115#endif /* __cplusplus */
116
117#endif  /* __FilterMapperSpy_FWD_DEFINED__ */
118
119
120#ifndef __SystemDeviceEnumeratorSpy_FWD_DEFINED__
121#define __SystemDeviceEnumeratorSpy_FWD_DEFINED__
122
123#ifdef __cplusplus
124typedef class SystemDeviceEnumeratorSpy SystemDeviceEnumeratorSpy;
125#else
126typedef struct SystemDeviceEnumeratorSpy SystemDeviceEnumeratorSpy;
127#endif /* __cplusplus */
128
129#endif  /* __SystemDeviceEnumeratorSpy_FWD_DEFINED__ */
130
131
132/* header files for imported files */
133#include "oaidl.h"
134#include "ocidl.h"
135
136#ifdef __cplusplus
137extern "C"{
138#endif
139
140
141#ifndef __ISpy_INTERFACE_DEFINED__
142#define __ISpy_INTERFACE_DEFINED__
143
144/* interface ISpy */
145/* [unique][helpstring][nonextensible][oleautomation][dual][uuid][object] */ 
146
147
148EXTERN_C const IID IID_ISpy;
149
150#if defined(__cplusplus) && !defined(CINTERFACE)
151   
152    MIDL_INTERFACE("6945711B-FE0F-4C54-965F-5B67969C28B7")
153    ISpy : public IDispatch
154    {
155    public:
156    };
157   
158#else   /* C style interface */
159
160    typedef struct ISpyVtbl
161    {
162        BEGIN_INTERFACE
163       
164        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
165            ISpy * This,
166            /* [in] */ REFIID riid,
167            /* [iid_is][out] */ 
168            __RPC__deref_out  void **ppvObject);
169       
170        ULONG ( STDMETHODCALLTYPE *AddRef )( 
171            ISpy * This);
172       
173        ULONG ( STDMETHODCALLTYPE *Release )( 
174            ISpy * This);
175       
176        HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
177            ISpy * This,
178            /* [out] */ UINT *pctinfo);
179       
180        HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
181            ISpy * This,
182            /* [in] */ UINT iTInfo,
183            /* [in] */ LCID lcid,
184            /* [out] */ ITypeInfo **ppTInfo);
185       
186        HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
187            ISpy * This,
188            /* [in] */ REFIID riid,
189            /* [size_is][in] */ LPOLESTR *rgszNames,
190            /* [range][in] */ UINT cNames,
191            /* [in] */ LCID lcid,
192            /* [size_is][out] */ DISPID *rgDispId);
193       
194        /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
195            ISpy * This,
196            /* [in] */ DISPID dispIdMember,
197            /* [in] */ REFIID riid,
198            /* [in] */ LCID lcid,
199            /* [in] */ WORD wFlags,
200            /* [out][in] */ DISPPARAMS *pDispParams,
201            /* [out] */ VARIANT *pVarResult,
202            /* [out] */ EXCEPINFO *pExcepInfo,
203            /* [out] */ UINT *puArgErr);
204       
205        END_INTERFACE
206    } ISpyVtbl;
207
208    interface ISpy
209    {
210        CONST_VTBL struct ISpyVtbl *lpVtbl;
211    };
212
213   
214
215#ifdef COBJMACROS
216
217
218#define ISpy_QueryInterface(This,riid,ppvObject)        \
219    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
220
221#define ISpy_AddRef(This)       \
222    ( (This)->lpVtbl -> AddRef(This) )
223
224#define ISpy_Release(This)      \
225    ( (This)->lpVtbl -> Release(This) )
226
227
228#define ISpy_GetTypeInfoCount(This,pctinfo)     \
229    ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) )
230
231#define ISpy_GetTypeInfo(This,iTInfo,lcid,ppTInfo)      \
232    ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) )
233
234#define ISpy_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)    \
235    ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) )
236
237#define ISpy_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)      \
238    ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) )
239
240
241#endif /* COBJMACROS */
242
243
244#endif  /* C style interface */
245
246
247
248
249#endif  /* __ISpy_INTERFACE_DEFINED__ */
250
251
252#ifndef __IFilterMapperSpy_INTERFACE_DEFINED__
253#define __IFilterMapperSpy_INTERFACE_DEFINED__
254
255/* interface IFilterMapperSpy */
256/* [unique][helpstring][nonextensible][oleautomation][dual][uuid][object] */ 
257
258
259EXTERN_C const IID IID_IFilterMapperSpy;
260
261#if defined(__cplusplus) && !defined(CINTERFACE)
262   
263    MIDL_INTERFACE("34B280D7-A144-4a64-BCB9-3616896F6877")
264    IFilterMapperSpy : public IDispatch
265    {
266    public:
267    };
268   
269#else   /* C style interface */
270
271    typedef struct IFilterMapperSpyVtbl
272    {
273        BEGIN_INTERFACE
274       
275        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
276            IFilterMapperSpy * This,
277            /* [in] */ REFIID riid,
278            /* [iid_is][out] */ 
279            __RPC__deref_out  void **ppvObject);
280       
281        ULONG ( STDMETHODCALLTYPE *AddRef )( 
282            IFilterMapperSpy * This);
283       
284        ULONG ( STDMETHODCALLTYPE *Release )( 
285            IFilterMapperSpy * This);
286       
287        HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
288            IFilterMapperSpy * This,
289            /* [out] */ UINT *pctinfo);
290       
291        HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
292            IFilterMapperSpy * This,
293            /* [in] */ UINT iTInfo,
294            /* [in] */ LCID lcid,
295            /* [out] */ ITypeInfo **ppTInfo);
296       
297        HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
298            IFilterMapperSpy * This,
299            /* [in] */ REFIID riid,
300            /* [size_is][in] */ LPOLESTR *rgszNames,
301            /* [range][in] */ UINT cNames,
302            /* [in] */ LCID lcid,
303            /* [size_is][out] */ DISPID *rgDispId);
304       
305        /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
306            IFilterMapperSpy * This,
307            /* [in] */ DISPID dispIdMember,
308            /* [in] */ REFIID riid,
309            /* [in] */ LCID lcid,
310            /* [in] */ WORD wFlags,
311            /* [out][in] */ DISPPARAMS *pDispParams,
312            /* [out] */ VARIANT *pVarResult,
313            /* [out] */ EXCEPINFO *pExcepInfo,
314            /* [out] */ UINT *puArgErr);
315       
316        END_INTERFACE
317    } IFilterMapperSpyVtbl;
318
319    interface IFilterMapperSpy
320    {
321        CONST_VTBL struct IFilterMapperSpyVtbl *lpVtbl;
322    };
323
324   
325
326#ifdef COBJMACROS
327
328
329#define IFilterMapperSpy_QueryInterface(This,riid,ppvObject)    \
330    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
331
332#define IFilterMapperSpy_AddRef(This)   \
333    ( (This)->lpVtbl -> AddRef(This) )
334
335#define IFilterMapperSpy_Release(This)  \
336    ( (This)->lpVtbl -> Release(This) )
337
338
339#define IFilterMapperSpy_GetTypeInfoCount(This,pctinfo) \
340    ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) )
341
342#define IFilterMapperSpy_GetTypeInfo(This,iTInfo,lcid,ppTInfo)  \
343    ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) )
344
345#define IFilterMapperSpy_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)        \
346    ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) )
347
348#define IFilterMapperSpy_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)  \
349    ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) )
350
351
352#endif /* COBJMACROS */
353
354
355#endif  /* C style interface */
356
357
358
359
360#endif  /* __IFilterMapperSpy_INTERFACE_DEFINED__ */
361
362
363#ifndef __ISystemDeviceEnumeratorSpy_INTERFACE_DEFINED__
364#define __ISystemDeviceEnumeratorSpy_INTERFACE_DEFINED__
365
366/* interface ISystemDeviceEnumeratorSpy */
367/* [unique][helpstring][nonextensible][oleautomation][dual][uuid][object] */ 
368
369
370EXTERN_C const IID IID_ISystemDeviceEnumeratorSpy;
371
372#if defined(__cplusplus) && !defined(CINTERFACE)
373   
374    MIDL_INTERFACE("14EB119F-25CE-4654-ABE1-E6742AF03F2D")
375    ISystemDeviceEnumeratorSpy : public IDispatch
376    {
377    public:
378    };
379   
380#else   /* C style interface */
381
382    typedef struct ISystemDeviceEnumeratorSpyVtbl
383    {
384        BEGIN_INTERFACE
385       
386        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
387            ISystemDeviceEnumeratorSpy * This,
388            /* [in] */ REFIID riid,
389            /* [iid_is][out] */ 
390            __RPC__deref_out  void **ppvObject);
391       
392        ULONG ( STDMETHODCALLTYPE *AddRef )( 
393            ISystemDeviceEnumeratorSpy * This);
394       
395        ULONG ( STDMETHODCALLTYPE *Release )( 
396            ISystemDeviceEnumeratorSpy * This);
397       
398        HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
399            ISystemDeviceEnumeratorSpy * This,
400            /* [out] */ UINT *pctinfo);
401       
402        HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
403            ISystemDeviceEnumeratorSpy * This,
404            /* [in] */ UINT iTInfo,
405            /* [in] */ LCID lcid,
406            /* [out] */ ITypeInfo **ppTInfo);
407       
408        HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
409            ISystemDeviceEnumeratorSpy * This,
410            /* [in] */ REFIID riid,
411            /* [size_is][in] */ LPOLESTR *rgszNames,
412            /* [range][in] */ UINT cNames,
413            /* [in] */ LCID lcid,
414            /* [size_is][out] */ DISPID *rgDispId);
415       
416        /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
417            ISystemDeviceEnumeratorSpy * This,
418            /* [in] */ DISPID dispIdMember,
419            /* [in] */ REFIID riid,
420            /* [in] */ LCID lcid,
421            /* [in] */ WORD wFlags,
422            /* [out][in] */ DISPPARAMS *pDispParams,
423            /* [out] */ VARIANT *pVarResult,
424            /* [out] */ EXCEPINFO *pExcepInfo,
425            /* [out] */ UINT *puArgErr);
426       
427        END_INTERFACE
428    } ISystemDeviceEnumeratorSpyVtbl;
429
430    interface ISystemDeviceEnumeratorSpy
431    {
432        CONST_VTBL struct ISystemDeviceEnumeratorSpyVtbl *lpVtbl;
433    };
434
435   
436
437#ifdef COBJMACROS
438
439
440#define ISystemDeviceEnumeratorSpy_QueryInterface(This,riid,ppvObject)  \
441    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
442
443#define ISystemDeviceEnumeratorSpy_AddRef(This) \
444    ( (This)->lpVtbl -> AddRef(This) )
445
446#define ISystemDeviceEnumeratorSpy_Release(This)        \
447    ( (This)->lpVtbl -> Release(This) )
448
449
450#define ISystemDeviceEnumeratorSpy_GetTypeInfoCount(This,pctinfo)       \
451    ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) )
452
453#define ISystemDeviceEnumeratorSpy_GetTypeInfo(This,iTInfo,lcid,ppTInfo)        \
454    ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) )
455
456#define ISystemDeviceEnumeratorSpy_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)      \
457    ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) )
458
459#define ISystemDeviceEnumeratorSpy_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)        \
460    ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) )
461
462
463#endif /* COBJMACROS */
464
465
466#endif  /* C style interface */
467
468
469
470
471#endif  /* __ISystemDeviceEnumeratorSpy_INTERFACE_DEFINED__ */
472
473
474
475#ifndef __AlaxInfoDirectShowSpy_LIBRARY_DEFINED__
476#define __AlaxInfoDirectShowSpy_LIBRARY_DEFINED__
477
478/* library AlaxInfoDirectShowSpy */
479/* [helpstring][version][uuid] */ 
480
481
482EXTERN_C const IID LIBID_AlaxInfoDirectShowSpy;
483
484#ifndef __IFilterGraphAddRemoveHook_INTERFACE_DEFINED__
485#define __IFilterGraphAddRemoveHook_INTERFACE_DEFINED__
486
487/* interface IFilterGraphAddRemoveHook */
488/* [unique][helpstring][nonextensible][uuid][object] */ 
489
490
491EXTERN_C const IID IID_IFilterGraphAddRemoveHook;
492
493#if defined(__cplusplus) && !defined(CINTERFACE)
494   
495    MIDL_INTERFACE("ACBECDFD-D8CA-49c8-B799-D23225D5BFAD")
496    IFilterGraphAddRemoveHook : public IUnknown
497    {
498    public:
499        virtual HRESULT STDMETHODCALLTYPE OnAddFilter( 
500            /* [in] */ ISpy *pSpy,
501            /* [in] */ IUnknown *pBaseFilterUnknown,
502            /* [in] */ LPCWSTR pszName,
503            /* [out][in] */ BOOL *pbDefault) = 0;
504       
505        virtual HRESULT STDMETHODCALLTYPE OnRemoveFilter( 
506            /* [in] */ ISpy *pSpy,
507            /* [in] */ IUnknown *pBaseFilterUnknown,
508            /* [out][in] */ BOOL *pbDefault) = 0;
509       
510        virtual HRESULT STDMETHODCALLTYPE OnAddSourceFilter( 
511            /* [in] */ ISpy *pSpy,
512            /* [in] */ LPCWSTR pszFileName,
513            /* [in] */ LPCWSTR pszFilterName,
514            /* [out] */ IUnknown **ppBaseFilterUnknown,
515            /* [out][in] */ BOOL *pbDefault) = 0;
516       
517        virtual HRESULT STDMETHODCALLTYPE OnAddSourceFilterForMoniker( 
518            /* [in] */ ISpy *pSpy,
519            /* [in] */ IUnknown *pMonikerUnknown,
520            /* [in] */ IUnknown *pBindCtxUnknown,
521            /* [in] */ LPCWSTR pszFilterName,
522            /* [out] */ IUnknown **ppBaseFilterUnknown,
523            /* [out][in] */ BOOL *pbDefault) = 0;
524       
525    };
526   
527#else   /* C style interface */
528
529    typedef struct IFilterGraphAddRemoveHookVtbl
530    {
531        BEGIN_INTERFACE
532       
533        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
534            IFilterGraphAddRemoveHook * This,
535            /* [in] */ REFIID riid,
536            /* [iid_is][out] */ 
537            __RPC__deref_out  void **ppvObject);
538       
539        ULONG ( STDMETHODCALLTYPE *AddRef )( 
540            IFilterGraphAddRemoveHook * This);
541       
542        ULONG ( STDMETHODCALLTYPE *Release )( 
543            IFilterGraphAddRemoveHook * This);
544       
545        HRESULT ( STDMETHODCALLTYPE *OnAddFilter )( 
546            IFilterGraphAddRemoveHook * This,
547            /* [in] */ ISpy *pSpy,
548            /* [in] */ IUnknown *pBaseFilterUnknown,
549            /* [in] */ LPCWSTR pszName,
550            /* [out][in] */ BOOL *pbDefault);
551       
552        HRESULT ( STDMETHODCALLTYPE *OnRemoveFilter )( 
553            IFilterGraphAddRemoveHook * This,
554            /* [in] */ ISpy *pSpy,
555            /* [in] */ IUnknown *pBaseFilterUnknown,
556            /* [out][in] */ BOOL *pbDefault);
557       
558        HRESULT ( STDMETHODCALLTYPE *OnAddSourceFilter )( 
559            IFilterGraphAddRemoveHook * This,
560            /* [in] */ ISpy *pSpy,
561            /* [in] */ LPCWSTR pszFileName,
562            /* [in] */ LPCWSTR pszFilterName,
563            /* [out] */ IUnknown **ppBaseFilterUnknown,
564            /* [out][in] */ BOOL *pbDefault);
565       
566        HRESULT ( STDMETHODCALLTYPE *OnAddSourceFilterForMoniker )( 
567            IFilterGraphAddRemoveHook * This,
568            /* [in] */ ISpy *pSpy,
569            /* [in] */ IUnknown *pMonikerUnknown,
570            /* [in] */ IUnknown *pBindCtxUnknown,
571            /* [in] */ LPCWSTR pszFilterName,
572            /* [out] */ IUnknown **ppBaseFilterUnknown,
573            /* [out][in] */ BOOL *pbDefault);
574       
575        END_INTERFACE
576    } IFilterGraphAddRemoveHookVtbl;
577
578    interface IFilterGraphAddRemoveHook
579    {
580        CONST_VTBL struct IFilterGraphAddRemoveHookVtbl *lpVtbl;
581    };
582
583   
584
585#ifdef COBJMACROS
586
587
588#define IFilterGraphAddRemoveHook_QueryInterface(This,riid,ppvObject)   \
589    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
590
591#define IFilterGraphAddRemoveHook_AddRef(This)  \
592    ( (This)->lpVtbl -> AddRef(This) )
593
594#define IFilterGraphAddRemoveHook_Release(This) \
595    ( (This)->lpVtbl -> Release(This) )
596
597
598#define IFilterGraphAddRemoveHook_OnAddFilter(This,pSpy,pBaseFilterUnknown,pszName,pbDefault)   \
599    ( (This)->lpVtbl -> OnAddFilter(This,pSpy,pBaseFilterUnknown,pszName,pbDefault) )
600
601#define IFilterGraphAddRemoveHook_OnRemoveFilter(This,pSpy,pBaseFilterUnknown,pbDefault)        \
602    ( (This)->lpVtbl -> OnRemoveFilter(This,pSpy,pBaseFilterUnknown,pbDefault) )
603
604#define IFilterGraphAddRemoveHook_OnAddSourceFilter(This,pSpy,pszFileName,pszFilterName,ppBaseFilterUnknown,pbDefault)  \
605    ( (This)->lpVtbl -> OnAddSourceFilter(This,pSpy,pszFileName,pszFilterName,ppBaseFilterUnknown,pbDefault) )
606
607#define IFilterGraphAddRemoveHook_OnAddSourceFilterForMoniker(This,pSpy,pMonikerUnknown,pBindCtxUnknown,pszFilterName,ppBaseFilterUnknown,pbDefault)    \
608    ( (This)->lpVtbl -> OnAddSourceFilterForMoniker(This,pSpy,pMonikerUnknown,pBindCtxUnknown,pszFilterName,ppBaseFilterUnknown,pbDefault) )
609
610#endif /* COBJMACROS */
611
612
613#endif  /* C style interface */
614
615
616
617
618#endif  /* __IFilterGraphAddRemoveHook_INTERFACE_DEFINED__ */
619
620
621#ifndef __IFilterGraphConnectHook_INTERFACE_DEFINED__
622#define __IFilterGraphConnectHook_INTERFACE_DEFINED__
623
624/* interface IFilterGraphConnectHook */
625/* [unique][helpstring][nonextensible][uuid][object] */ 
626
627
628EXTERN_C const IID IID_IFilterGraphConnectHook;
629
630#if defined(__cplusplus) && !defined(CINTERFACE)
631   
632    MIDL_INTERFACE("D0F4C168-D09D-481e-903D-7461CE69E391")
633    IFilterGraphConnectHook : public IUnknown
634    {
635    public:
636        virtual HRESULT STDMETHODCALLTYPE OnConnectDirect( 
637            /* [in] */ ISpy *pSpy,
638            /* [in] */ IUnknown *pOutputPinUnknown,
639            /* [in] */ IUnknown *pInputPinUnknown,
640            /* [in] */ const BYTE *pMediaTypeData,
641            /* [out][in] */ BOOL *pbDefault) = 0;
642       
643        virtual HRESULT STDMETHODCALLTYPE OnReconnect( 
644            /* [in] */ ISpy *pSpy,
645            /* [in] */ IUnknown *pPinUnknown,
646            /* [out][in] */ BOOL *pbDefault) = 0;
647       
648        virtual HRESULT STDMETHODCALLTYPE OnDisconnect( 
649            /* [in] */ ISpy *pSpy,
650            /* [in] */ IUnknown *pPinUnknown,
651            /* [out][in] */ BOOL *pbDefault) = 0;
652       
653        virtual HRESULT STDMETHODCALLTYPE OnConnect( 
654            /* [in] */ ISpy *pSpy,
655            /* [in] */ IUnknown *pOutputPinUnknown,
656            /* [in] */ IUnknown *pInputPinUnknown,
657            /* [out][in] */ BOOL *pbDefault) = 0;
658       
659        virtual HRESULT STDMETHODCALLTYPE OnReconnectEx( 
660            /* [in] */ ISpy *pSpy,
661            /* [in] */ IUnknown *pPinUnknown,
662            /* [in] */ const BYTE *pMediaTypeData,
663            /* [out][in] */ BOOL *pbDefault) = 0;
664       
665    };
666   
667#else   /* C style interface */
668
669    typedef struct IFilterGraphConnectHookVtbl
670    {
671        BEGIN_INTERFACE
672       
673        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
674            IFilterGraphConnectHook * This,
675            /* [in] */ REFIID riid,
676            /* [iid_is][out] */ 
677            __RPC__deref_out  void **ppvObject);
678       
679        ULONG ( STDMETHODCALLTYPE *AddRef )( 
680            IFilterGraphConnectHook * This);
681       
682        ULONG ( STDMETHODCALLTYPE *Release )( 
683            IFilterGraphConnectHook * This);
684       
685        HRESULT ( STDMETHODCALLTYPE *OnConnectDirect )( 
686            IFilterGraphConnectHook * This,
687            /* [in] */ ISpy *pSpy,
688            /* [in] */ IUnknown *pOutputPinUnknown,
689            /* [in] */ IUnknown *pInputPinUnknown,
690            /* [in] */ const BYTE *pMediaTypeData,
691            /* [out][in] */ BOOL *pbDefault);
692       
693        HRESULT ( STDMETHODCALLTYPE *OnReconnect )( 
694            IFilterGraphConnectHook * This,
695            /* [in] */ ISpy *pSpy,
696            /* [in] */ IUnknown *pPinUnknown,
697            /* [out][in] */ BOOL *pbDefault);
698       
699        HRESULT ( STDMETHODCALLTYPE *OnDisconnect )( 
700            IFilterGraphConnectHook * This,
701            /* [in] */ ISpy *pSpy,
702            /* [in] */ IUnknown *pPinUnknown,
703            /* [out][in] */ BOOL *pbDefault);
704       
705        HRESULT ( STDMETHODCALLTYPE *OnConnect )( 
706            IFilterGraphConnectHook * This,
707            /* [in] */ ISpy *pSpy,
708            /* [in] */ IUnknown *pOutputPinUnknown,
709            /* [in] */ IUnknown *pInputPinUnknown,
710            /* [out][in] */ BOOL *pbDefault);
711       
712        HRESULT ( STDMETHODCALLTYPE *OnReconnectEx )( 
713            IFilterGraphConnectHook * This,
714            /* [in] */ ISpy *pSpy,
715            /* [in] */ IUnknown *pPinUnknown,
716            /* [in] */ const BYTE *pMediaTypeData,
717            /* [out][in] */ BOOL *pbDefault);
718       
719        END_INTERFACE
720    } IFilterGraphConnectHookVtbl;
721
722    interface IFilterGraphConnectHook
723    {
724        CONST_VTBL struct IFilterGraphConnectHookVtbl *lpVtbl;
725    };
726
727   
728
729#ifdef COBJMACROS
730
731
732#define IFilterGraphConnectHook_QueryInterface(This,riid,ppvObject)     \
733    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
734
735#define IFilterGraphConnectHook_AddRef(This)    \
736    ( (This)->lpVtbl -> AddRef(This) )
737
738#define IFilterGraphConnectHook_Release(This)   \
739    ( (This)->lpVtbl -> Release(This) )
740
741
742#define IFilterGraphConnectHook_OnConnectDirect(This,pSpy,pOutputPinUnknown,pInputPinUnknown,pMediaTypeData,pbDefault)  \
743    ( (This)->lpVtbl -> OnConnectDirect(This,pSpy,pOutputPinUnknown,pInputPinUnknown,pMediaTypeData,pbDefault) )
744
745#define IFilterGraphConnectHook_OnReconnect(This,pSpy,pPinUnknown,pbDefault)    \
746    ( (This)->lpVtbl -> OnReconnect(This,pSpy,pPinUnknown,pbDefault) )
747
748#define IFilterGraphConnectHook_OnDisconnect(This,pSpy,pPinUnknown,pbDefault)   \
749    ( (This)->lpVtbl -> OnDisconnect(This,pSpy,pPinUnknown,pbDefault) )
750
751#define IFilterGraphConnectHook_OnConnect(This,pSpy,pOutputPinUnknown,pInputPinUnknown,pbDefault)       \
752    ( (This)->lpVtbl -> OnConnect(This,pSpy,pOutputPinUnknown,pInputPinUnknown,pbDefault) )
753
754#define IFilterGraphConnectHook_OnReconnectEx(This,pSpy,pPinUnknown,pMediaTypeData,pbDefault)   \
755    ( (This)->lpVtbl -> OnReconnectEx(This,pSpy,pPinUnknown,pMediaTypeData,pbDefault) )
756
757#endif /* COBJMACROS */
758
759
760#endif  /* C style interface */
761
762
763
764
765#endif  /* __IFilterGraphConnectHook_INTERFACE_DEFINED__ */
766
767
768#ifndef __IFilterGraphStateControlHook_INTERFACE_DEFINED__
769#define __IFilterGraphStateControlHook_INTERFACE_DEFINED__
770
771/* interface IFilterGraphStateControlHook */
772/* [unique][helpstring][nonextensible][uuid][object] */ 
773
774
775EXTERN_C const IID IID_IFilterGraphStateControlHook;
776
777#if defined(__cplusplus) && !defined(CINTERFACE)
778   
779    MIDL_INTERFACE("65FA1519-A935-4fa9-A15D-9426457E02F6")
780    IFilterGraphStateControlHook : public IUnknown
781    {
782    public:
783        virtual HRESULT STDMETHODCALLTYPE OnRun( 
784            /* [in] */ ISpy *pSpy,
785            /* [out][in] */ BOOL *pbDefault) = 0;
786       
787        virtual HRESULT STDMETHODCALLTYPE OnPause( 
788            /* [in] */ ISpy *pSpy,
789            /* [out][in] */ BOOL *pbDefault) = 0;
790       
791        virtual HRESULT STDMETHODCALLTYPE OnStop( 
792            /* [in] */ ISpy *pSpy,
793            /* [out][in] */ BOOL *pbDefault) = 0;
794       
795    };
796   
797#else   /* C style interface */
798
799    typedef struct IFilterGraphStateControlHookVtbl
800    {
801        BEGIN_INTERFACE
802       
803        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
804            IFilterGraphStateControlHook * This,
805            /* [in] */ REFIID riid,
806            /* [iid_is][out] */ 
807            __RPC__deref_out  void **ppvObject);
808       
809        ULONG ( STDMETHODCALLTYPE *AddRef )( 
810            IFilterGraphStateControlHook * This);
811       
812        ULONG ( STDMETHODCALLTYPE *Release )( 
813            IFilterGraphStateControlHook * This);
814       
815        HRESULT ( STDMETHODCALLTYPE *OnRun )( 
816            IFilterGraphStateControlHook * This,
817            /* [in] */ ISpy *pSpy,
818            /* [out][in] */ BOOL *pbDefault);
819       
820        HRESULT ( STDMETHODCALLTYPE *OnPause )( 
821            IFilterGraphStateControlHook * This,
822            /* [in] */ ISpy *pSpy,
823            /* [out][in] */ BOOL *pbDefault);
824       
825        HRESULT ( STDMETHODCALLTYPE *OnStop )( 
826            IFilterGraphStateControlHook * This,
827            /* [in] */ ISpy *pSpy,
828            /* [out][in] */ BOOL *pbDefault);
829       
830        END_INTERFACE
831    } IFilterGraphStateControlHookVtbl;
832
833    interface IFilterGraphStateControlHook
834    {
835        CONST_VTBL struct IFilterGraphStateControlHookVtbl *lpVtbl;
836    };
837
838   
839
840#ifdef COBJMACROS
841
842
843#define IFilterGraphStateControlHook_QueryInterface(This,riid,ppvObject)        \
844    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
845
846#define IFilterGraphStateControlHook_AddRef(This)       \
847    ( (This)->lpVtbl -> AddRef(This) )
848
849#define IFilterGraphStateControlHook_Release(This)      \
850    ( (This)->lpVtbl -> Release(This) )
851
852
853#define IFilterGraphStateControlHook_OnRun(This,pSpy,pbDefault) \
854    ( (This)->lpVtbl -> OnRun(This,pSpy,pbDefault) )
855
856#define IFilterGraphStateControlHook_OnPause(This,pSpy,pbDefault)       \
857    ( (This)->lpVtbl -> OnPause(This,pSpy,pbDefault) )
858
859#define IFilterGraphStateControlHook_OnStop(This,pSpy,pbDefault)        \
860    ( (This)->lpVtbl -> OnStop(This,pSpy,pbDefault) )
861
862#endif /* COBJMACROS */
863
864
865#endif  /* C style interface */
866
867
868
869
870#endif  /* __IFilterGraphStateControlHook_INTERFACE_DEFINED__ */
871
872
873EXTERN_C const CLSID CLSID_Spy;
874
875#ifdef __cplusplus
876
877class DECLSPEC_UUID("F552C23D-F088-41C3-A080-8464D7BB9BAD")
878Spy;
879#endif
880
881EXTERN_C const CLSID CLSID_NoThreadSpy;
882
883#ifdef __cplusplus
884
885class DECLSPEC_UUID("2C281C40-8853-4a30-99D3-9DCFF2C015C9")
886NoThreadSpy;
887#endif
888
889EXTERN_C const CLSID CLSID_FilterMapperSpy;
890
891#ifdef __cplusplus
892
893class DECLSPEC_UUID("B6274D9B-1AD3-4c32-83C5-35DC33CAFF47")
894FilterMapperSpy;
895#endif
896
897EXTERN_C const CLSID CLSID_SystemDeviceEnumeratorSpy;
898
899#ifdef __cplusplus
900
901class DECLSPEC_UUID("AD42E3BD-7B9B-4783-9DA2-61A9ACD0D4D2")
902SystemDeviceEnumeratorSpy;
903#endif
904#endif /* __AlaxInfoDirectShowSpy_LIBRARY_DEFINED__ */
905
906/* Additional Prototypes for ALL interfaces */
907
908/* end of Additional Prototypes */
909
910#ifdef __cplusplus
911}
912#endif
913
914#endif
915
916
Note: See TracBrowser for help on using the repository browser.