1 | //////////////////////////////////////////////////////////// |
---|
2 | // Copyright (C) Roman Ryltsov, 2008-2011 |
---|
3 | // Created by Roman Ryltsov roman@alax.info |
---|
4 | // |
---|
5 | // $Id: DirectShowSpy.idl 95 2012-08-17 17:21:13Z roman $ |
---|
6 | |
---|
7 | import "oaidl.idl"; |
---|
8 | import "ocidl.idl"; |
---|
9 | |
---|
10 | [ |
---|
11 | object, |
---|
12 | uuid(6945711B-FE0F-4C54-965F-5B67969C28B7), |
---|
13 | dual, |
---|
14 | oleautomation, |
---|
15 | nonextensible, |
---|
16 | helpstring("ISpy Interface"), |
---|
17 | pointer_default(unique) |
---|
18 | ] |
---|
19 | interface ISpy : IDispatch |
---|
20 | { |
---|
21 | }; |
---|
22 | [ |
---|
23 | object, |
---|
24 | uuid(34B280D7-A144-4a64-BCB9-3616896F6877), |
---|
25 | dual, |
---|
26 | oleautomation, |
---|
27 | nonextensible, |
---|
28 | helpstring("IFilterMapperSpy Interface"), |
---|
29 | pointer_default(unique) |
---|
30 | ] |
---|
31 | interface IFilterMapperSpy : IDispatch |
---|
32 | { |
---|
33 | }; |
---|
34 | [ |
---|
35 | uuid(B9EC374B-834B-4DA9-BFB5-C1872CE736FF), |
---|
36 | version(1.0), |
---|
37 | helpstring("Alax.Info Filter Graph Spy 1.0 Type Library") |
---|
38 | ] |
---|
39 | library AlaxInfoDirectShowSpy |
---|
40 | { |
---|
41 | importlib("stdole2.tlb"); |
---|
42 | [ |
---|
43 | object, |
---|
44 | uuid(ACBECDFD-D8CA-49c8-B799-D23225D5BFAD), |
---|
45 | nonextensible, |
---|
46 | helpstring("IFilterGraphAddRemoveHook Interface"), |
---|
47 | pointer_default(unique) |
---|
48 | ] |
---|
49 | interface IFilterGraphAddRemoveHook : IUnknown |
---|
50 | { |
---|
51 | HRESULT OnAddFilter([in] ISpy* pSpy, [in] IUnknown* pBaseFilterUnknown, [in] LPCWSTR pszName, [in, out] BOOL* pbDefault); |
---|
52 | HRESULT OnRemoveFilter([in] ISpy* pSpy, [in] IUnknown* pBaseFilterUnknown, [in, out] BOOL* pbDefault); |
---|
53 | HRESULT OnAddSourceFilter([in] ISpy* pSpy, [in] LPCWSTR pszFileName, [in] LPCWSTR pszFilterName, [out] IUnknown** ppBaseFilterUnknown, [in, out] BOOL* pbDefault); |
---|
54 | HRESULT OnAddSourceFilterForMoniker([in] ISpy* pSpy, [in] IUnknown* pMonikerUnknown, [in] IUnknown* pBindCtxUnknown, [in] LPCWSTR pszFilterName, [out] IUnknown** ppBaseFilterUnknown, [in, out] BOOL* pbDefault); |
---|
55 | }; |
---|
56 | [ |
---|
57 | object, |
---|
58 | uuid(D0F4C168-D09D-481e-903D-7461CE69E391), |
---|
59 | nonextensible, |
---|
60 | helpstring("IFilterGraphConnectHook Interface"), |
---|
61 | pointer_default(unique) |
---|
62 | ] |
---|
63 | interface IFilterGraphConnectHook : IUnknown |
---|
64 | { |
---|
65 | HRESULT OnConnectDirect([in] ISpy* pSpy, [in] IUnknown* pOutputPinUnknown, [in] IUnknown* pInputPinUnknown, [in] const BYTE* pMediaTypeData, [in, out] BOOL* pbDefault); |
---|
66 | HRESULT OnReconnect([in] ISpy* pSpy, [in] IUnknown* pPinUnknown, [in, out] BOOL* pbDefault); |
---|
67 | HRESULT OnDisconnect([in] ISpy* pSpy, [in] IUnknown* pPinUnknown, [in, out] BOOL* pbDefault); |
---|
68 | HRESULT OnConnect([in] ISpy* pSpy, [in] IUnknown* pOutputPinUnknown, [in] IUnknown* pInputPinUnknown, [in, out] BOOL* pbDefault); |
---|
69 | HRESULT OnReconnectEx([in] ISpy* pSpy, [in] IUnknown* pPinUnknown, [in] const BYTE* pMediaTypeData, [in, out] BOOL* pbDefault); |
---|
70 | }; |
---|
71 | [ |
---|
72 | object, |
---|
73 | uuid(65FA1519-A935-4fa9-A15D-9426457E02F6), |
---|
74 | nonextensible, |
---|
75 | helpstring("IFilterGraphStateControlHook Interface"), |
---|
76 | pointer_default(unique) |
---|
77 | ] |
---|
78 | interface IFilterGraphStateControlHook : IUnknown |
---|
79 | { |
---|
80 | HRESULT OnRun([in] ISpy* pSpy, [in, out] BOOL* pbDefault); |
---|
81 | HRESULT OnPause([in] ISpy* pSpy, [in, out] BOOL* pbDefault); |
---|
82 | HRESULT OnStop([in] ISpy* pSpy, [in, out] BOOL* pbDefault); |
---|
83 | }; |
---|
84 | [ |
---|
85 | uuid(F552C23D-F088-41C3-A080-8464D7BB9BAD), |
---|
86 | helpstring("Spy Class") |
---|
87 | ] |
---|
88 | coclass Spy |
---|
89 | { |
---|
90 | [default] interface ISpy; |
---|
91 | }; |
---|
92 | [ |
---|
93 | uuid(2C281C40-8853-4a30-99D3-9DCFF2C015C9), |
---|
94 | helpstring("NoThreadSpy Class") |
---|
95 | ] |
---|
96 | coclass NoThreadSpy |
---|
97 | { |
---|
98 | [default] interface ISpy; |
---|
99 | }; |
---|
100 | [ |
---|
101 | uuid(B6274D9B-1AD3-4c32-83C5-35DC33CAFF47), |
---|
102 | helpstring("FilterMapperSpy Class") |
---|
103 | ] |
---|
104 | coclass FilterMapperSpy |
---|
105 | { |
---|
106 | [default] interface IFilterMapperSpy; |
---|
107 | }; |
---|
108 | }; |
---|