VirtualBox

source: vbox/trunk/src/VBox/Additions/WINNT/Graphics/Wine/include/qedit.idl@ 19982

Last change on this file since 19982 was 19678, checked in by vboxsync, 16 years ago

opengl: update wine to 1.1.21, add d3d9.dll to build list

  • Property svn:eol-style set to native
File size: 3.7 KB
Line 
1/*
2 * Copyright (C) 2008 Google (Lei Zhang)
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 * Sun 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, Sun 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
28import "oaidl.idl";
29import "ocidl.idl";
30/* import "dxtrans.idl"; */
31import "amstream.idl";
32import "msxml.idl";
33
34[
35 object,
36 uuid(0579154A-2B53-4994-B0D0-E773148EFF85),
37 local,
38 pointer_default(unique)
39]
40interface ISampleGrabberCB : IUnknown
41{
42 HRESULT SampleCB(
43 double SampleTime,
44 IMediaSample * pSample
45 );
46 HRESULT BufferCB(
47 double SampleTime,
48 BYTE * pBuffer,
49 LONG BufferLen
50 );
51}
52
53[
54 object,
55 uuid(6B652FFF-11FE-4fce-92AD-0266B5D7C78F),
56 local,
57 pointer_default(unique)
58]
59interface ISampleGrabber: IUnknown
60{
61 HRESULT SetOneShot(
62 BOOL OneShot
63 );
64
65 HRESULT SetMediaType(
66 const AM_MEDIA_TYPE * pType
67 );
68
69 HRESULT GetConnectedMediaType(
70 AM_MEDIA_TYPE * pType
71 );
72
73 HRESULT SetBufferSamples(
74 BOOL BufferThem
75 );
76
77 HRESULT GetCurrentBuffer(
78 [in,out] LONG * pBufferSize,
79 [out] LONG * pBuffer
80 );
81
82 HRESULT GetCurrentSample(
83 [out] IMediaSample ** ppSample
84 );
85
86 HRESULT SetCallback(
87 ISampleGrabberCB * pCallback,
88 LONG WhichMethodToCallback
89 );
90};
91
92[
93 object,
94 uuid(65bd0710-24d2-4FF7-9324-ed2e5d3abafa),
95 pointer_default(unique)
96]
97interface IMediaDet : IUnknown
98{
99 HRESULT get_Filter(
100 [out] IUnknown* *pVal
101 );
102
103 HRESULT put_Filter(
104 IUnknown* newVal
105 );
106
107 HRESULT get_OutputStreams(
108 [out] LONG *pVal
109 );
110
111 HRESULT get_CurrentStream(
112 [out] LONG *pVal
113 );
114
115 HRESULT put_CurrentStream(
116 LONG newVal
117 );
118
119 HRESULT get_StreamType(
120 [out] GUID *pVal
121 );
122
123 HRESULT get_StreamTypeB(
124 [out] BSTR *pVal
125 );
126
127 HRESULT get_StreamLength(
128 [out] double *pVal
129 );
130
131 HRESULT get_Filename(
132 [out] BSTR *pVal
133 );
134
135 HRESULT put_Filename(
136 BSTR newVal
137 );
138
139 HRESULT GetBitmapBits(
140 double StreamTime,
141 LONG * pBufferSize,
142 char * pBuffer,
143 LONG Width,
144 LONG Height
145 );
146
147 HRESULT WriteBitmapBits(
148 double StreamTime,
149 LONG Width,
150 LONG Height,
151 BSTR Filename
152 );
153
154 HRESULT get_StreamMediaType(
155 [out] AM_MEDIA_TYPE * pVal
156 );
157
158 HRESULT GetSampleGrabber(
159 [out] ISampleGrabber ** ppVal
160 );
161
162 HRESULT get_FrameRate(
163 [out] double *pVal
164 );
165
166 HRESULT EnterBitmapGrabMode(
167 double SeekTime
168 );
169};
170
171[
172 uuid(65BD0711-24D2-4ff7-9324-ED2E5D3ABAFA),
173]
174coclass MediaDet
175{
176 [default] interface IMediaDet;
177};
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