source: trunk/DirectShowSpy/DirectShowSpy.idl @ 193

Last change on this file since 193 was 193, checked in by roman, 9 years ago

Cosmetic, moved binaries, added graph list and clipboard copy property sheet

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