VirtualBox

source: vbox/trunk/src/VBox/Additions/WINNT/Graphics/Wine/include/dyngraph.idl@ 33876

Last change on this file since 33876 was 33656, checked in by vboxsync, 14 years ago

*: rebrand Sun (L)GPL disclaimers

  • Property svn:eol-style set to native
File size: 4.3 KB
Line 
1/*
2 * Copyright (C) 2002 Robert Shearman
3 *
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
8 *
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
13 *
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
17 */
18
19/*
20 * Oracle LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
21 * other than GPL or LGPL is available it will apply instead, Oracle elects to use only
22 * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
23 * a choice of LGPL license versions is made available with the language indicating
24 * that LGPLv2 or any later version may be used, or where a choice of which version
25 * of the LGPL is applied is otherwise unspecified.
26 */
27
28interface IPinConnection;
29interface IPinFlowControl;
30interface IGraphConfig;
31interface IGraphConfigCallback;
32
33[
34 local,
35 object,
36 uuid(4a9a62d3-27d4-403d-91e9-89f540e55534),
37 pointer_default(unique)
38]
39interface IPinConnection : IUnknown
40{
41 HRESULT DynamicQueryAccept([in] const AM_MEDIA_TYPE *pmt);
42
43 HRESULT NotifyEndOfStream([in] HANDLE hNotifyEvent);
44
45 HRESULT IsEndPin();
46
47 HRESULT DynamicDisconnect();
48}
49
50[
51 local,
52 object,
53 uuid(c56e9858-dbf3-4f6b-8119-384af2060deb),
54 pointer_default(unique)
55]
56interface IPinFlowControl : IUnknown
57{
58 HRESULT Block([in] DWORD dwBlockFlags, [in] HANDLE hEvent);
59}
60
61enum _AM_PIN_FLOW_CONTROL_BLOCK_FLAGS
62{
63 AM_PIN_FLOW_CONTROL_BLOCK = 0x00000001,
64};
65
66typedef enum _AM_GRAPH_CONFIG_RECONNECT_FLAGS
67{
68 AM_GRAPH_CONFIG_RECONNECT_DIRECTCONNECT = 0x00000001,
69 AM_GRAPH_CONFIG_RECONNECT_CACHE_REMOVED_FILTERS = 0x00000002,
70 AM_GRAPH_CONFIG_RECONNECT_USE_ONLY_CACHED_FILTERS = 0x00000004
71} AM_GRAPH_CONFIG_RECONNECT_FLAGS;
72
73enum _REM_FILTER_FLAGS
74{
75 REMFILTERF_LEAVECONNECTED = 0x00000001
76};
77
78typedef enum _AM_FILTER_FLAGS
79{
80 AM_FILTER_FLAGS_REMOVABLE = 0x00000001
81} AM_FILTER_FLAGS;
82
83[
84 local,
85 object,
86 uuid(03A1EB8E-32BF-4245-8502-114D08A9CB88),
87 pointer_default(unique)
88]
89interface IGraphConfig : IUnknown
90{
91 HRESULT Reconnect(
92 [in] IPin *pOutputPin,
93 [in] IPin *pInputPin,
94 [in] const AM_MEDIA_TYPE *pmtFirstConnection,
95 [in] IBaseFilter *pUsingFilter,
96 [in] HANDLE hAbortEvent,
97 [in] DWORD dwFlags);
98
99 HRESULT Reconfigure(
100 [in] IGraphConfigCallback *pCallback,
101 [in] PVOID pvContext,
102 [in] DWORD dwFlags,
103 [in] HANDLE hAbortEvent);
104
105 HRESULT AddFilterToCache([in] IBaseFilter *pFilter);
106
107 HRESULT EnumCacheFilter([out] IEnumFilters **pEnum);
108
109 HRESULT RemoveFilterFromCache([in]IBaseFilter *pFilter);
110
111 HRESULT GetStartTime([out] REFERENCE_TIME *prtStart);
112
113 HRESULT PushThroughData(
114 [in] IPin *pOutputPin,
115 [in] IPinConnection *pConnection,
116 [in] HANDLE hEventAbort);
117
118 HRESULT SetFilterFlags([in] IBaseFilter *pFilter, [in] DWORD dwFlags);
119
120 HRESULT GetFilterFlags([in] IBaseFilter *pFilter, [out] DWORD *pdwFlags);
121
122 HRESULT RemoveFilterEx([in] IBaseFilter *pFilter, DWORD Flags);
123}
124
125[
126 local,
127 object,
128 uuid(ade0fd60-d19d-11d2-abf6-00a0c905f375),
129 pointer_default(unique)
130]
131interface IGraphConfigCallback : IUnknown
132{
133 HRESULT Reconfigure(PVOID pvContext, DWORD dwFlags);
134}
135
136[
137 local,
138 object,
139 uuid(DCFBDCF6-0DC2-45f5-9AB2-7C330EA09C29),
140 pointer_default(unique)
141]
142interface IFilterChain : IUnknown
143{
144 HRESULT StartChain(
145 [in] IBaseFilter *pStartFilter,
146 [in] IBaseFilter *pEndFilter);
147
148 HRESULT PauseChain(
149 [in] IBaseFilter *pStartFilter,
150 [in] IBaseFilter *pEndFilter);
151
152 HRESULT StopChain(
153 [in] IBaseFilter *pStartFilter,
154 [in] IBaseFilter *pEndFilter);
155
156 HRESULT RemoveChain(
157 [in] IBaseFilter *pStartFilter,
158 [in] IBaseFilter *pEndFilter);
159}
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette