- Sync with trunk r58248 to bring the latest changes from Amine (headers) and others...
[reactos.git] / dll / directx / ddraw / Videoport / videoport_stubs.c
1 /* $Id: videoport.c 22739 2006-07-01 12:08:35Z greatlrd $
2 *
3 * COPYRIGHT: See COPYING in the top level directory
4 * PROJECT: ReactOS DirectX
5 * FILE: ddraw/videoport/videoport_stubs.c
6 * PURPOSE: IDirectDrawVideoPort, DDVideoPortContainer and IDirectDrawVideoPortNotify Implementation
7 * PROGRAMMER: Maarten Bosma
8 *
9 */
10
11 #include "rosdraw.h"
12
13
14 /************* IDirectDrawVideoPort *************/
15
16 HRESULT WINAPI
17 Main_DirectDrawVideoPort_QueryInterface (LPDIRECTDRAWVIDEOPORT iface, REFIID riid, LPVOID* ppvObj)
18 {
19 DX_WINDBG_trace();
20
21 DX_STUB;
22 }
23
24 ULONG WINAPI
25 Main_DirectDrawVideoPort_AddRef (LPDIRECTDRAWVIDEOPORT iface)
26 {
27 DX_WINDBG_trace();
28
29 DX_STUB;
30 }
31
32 ULONG WINAPI
33 Main_DirectDrawVideoPort_Release (LPDIRECTDRAWVIDEOPORT iface)
34 {
35 DX_WINDBG_trace();
36
37 DX_STUB;
38 }
39
40 HRESULT WINAPI
41 Main_DirectDrawVideoPort_Flip (LPDIRECTDRAWVIDEOPORT iface, LPDIRECTDRAWSURFACE lpDDSurface, DWORD dwFlags)
42 {
43 DX_WINDBG_trace();
44
45 DX_STUB;
46 }
47
48 HRESULT WINAPI
49 Main_DirectDrawVideoPort_GetBandwidthInfo (LPDIRECTDRAWVIDEOPORT iface, LPDDPIXELFORMAT lpddpfFormat, DWORD dwWidth,
50 DWORD dwHeight, DWORD dwFlags, LPDDVIDEOPORTBANDWIDTH lpBandwidth)
51 {
52 DX_WINDBG_trace();
53 DX_STUB;
54 }
55
56 HRESULT WINAPI
57 Main_DirectDrawVideoPort_GetColorControls (LPDIRECTDRAWVIDEOPORT iface, LPDDCOLORCONTROL lpColorControl)
58 {
59 DX_WINDBG_trace();
60 DX_STUB;
61 }
62
63 HRESULT WINAPI Main_DirectDrawVideoPort_GetInputFormats (LPDIRECTDRAWVIDEOPORT iface, LPDWORD lpNumFormats,
64 LPDDPIXELFORMAT lpFormats, DWORD dwFlags)
65 {
66 DX_WINDBG_trace();
67 DX_STUB;
68 }
69
70 HRESULT WINAPI Main_DirectDrawVideoPort_GetOutputFormats (LPDIRECTDRAWVIDEOPORT iface, LPDDPIXELFORMAT lpInputFormat,
71 LPDWORD lpNumFormats, LPDDPIXELFORMAT lpFormats, DWORD dwFlags)
72 {
73 DX_WINDBG_trace();
74 DX_STUB;
75 }
76
77 HRESULT WINAPI Main_DirectDrawVideoPort_GetFieldPolarity (LPDIRECTDRAWVIDEOPORT iface, LPBOOL lpbFieldPolarity)
78 {
79 DX_WINDBG_trace();
80 DX_STUB;
81 }
82
83 HRESULT WINAPI Main_DirectDrawVideoPort_GetVideoLine (LPDIRECTDRAWVIDEOPORT This, LPDWORD lpdwLine)
84 {
85 DX_WINDBG_trace();
86 DX_STUB;
87 }
88
89 HRESULT WINAPI Main_DirectDrawVideoPort_GetVideoSignalStatus (LPDIRECTDRAWVIDEOPORT iface, LPDWORD lpdwStatus)
90 {
91 DX_WINDBG_trace();
92 DX_STUB;
93 }
94
95 HRESULT WINAPI Main_DirectDrawVideoPort_SetColorControls (LPDIRECTDRAWVIDEOPORT iface, LPDDCOLORCONTROL lpColorControl)
96 {
97 DX_WINDBG_trace();
98 DX_STUB;
99 }
100
101 HRESULT WINAPI Main_DirectDrawVideoPort_SetTargetSurface (LPDIRECTDRAWVIDEOPORT iface, LPDIRECTDRAWSURFACE lpDDSurface,
102 DWORD dwFlags)
103 {
104 DX_WINDBG_trace();
105 DX_STUB;
106 }
107
108 HRESULT WINAPI Main_DirectDrawVideoPort_StartVideo (LPDIRECTDRAWVIDEOPORT iface, LPDDVIDEOPORTINFO dwFlags)
109 {
110 DX_WINDBG_trace();
111 DX_STUB;
112 }
113
114 HRESULT WINAPI Main_DirectDrawVideoPort_StopVideo (LPDIRECTDRAWVIDEOPORT iface)
115 {
116 DX_WINDBG_trace();
117 DX_STUB;
118 }
119
120 HRESULT WINAPI Main_DirectDrawVideoPort_UpdateVideo (LPDIRECTDRAWVIDEOPORT iface, LPDDVIDEOPORTINFO dwFlags)
121 {
122 DX_WINDBG_trace();
123 DX_STUB;
124 }
125
126 HRESULT WINAPI Main_DirectDrawVideoPort_WaitForSync (LPDIRECTDRAWVIDEOPORT iface, DWORD dwFlags, DWORD dwLine,
127 DWORD dwTimeout)
128 {
129 DX_WINDBG_trace();
130 DX_STUB;
131 }
132
133 /************* IDDVideoPortContainer *************/
134
135 HRESULT WINAPI Main_DDVideoPortContainer_QueryInterface (LPDDVIDEOPORTCONTAINER iface, REFIID riid, LPVOID* ppvObj)
136 {
137 DX_WINDBG_trace();
138 DX_STUB;
139 }
140
141 ULONG WINAPI Main_DDVideoPortContainer_AddRef (LPDDVIDEOPORTCONTAINER iface)
142 {
143 DX_WINDBG_trace();
144 DX_STUB;
145 }
146
147 ULONG WINAPI Main_DDVideoPortContainer_Release (LPDDVIDEOPORTCONTAINER iface)
148 {
149 DX_WINDBG_trace();
150 DX_STUB;
151 }
152
153 HRESULT WINAPI Main_DDVideoPortContainer_CreateVideoPort (LPDDVIDEOPORTCONTAINER iface, DWORD dwFlags, LPDDVIDEOPORTDESC pPortDesc,
154 LPDIRECTDRAWVIDEOPORT* DDVideoPort, IUnknown* pUnkOuter)
155 {
156 DX_WINDBG_trace();
157 DX_STUB;
158 }
159
160 HRESULT WINAPI
161 Main_DDVideoPortContainer_EnumVideoPorts (LPDDVIDEOPORTCONTAINER iface,
162 DWORD dwFlags,
163 LPDDVIDEOPORTCAPS pCaps,
164 LPVOID pContext,
165 LPDDENUMVIDEOCALLBACK pEnumVideoCallback)
166 {
167 DX_WINDBG_trace();
168 DX_STUB;
169 }
170
171 HRESULT WINAPI
172 Main_DDVideoPortContainer_GetVideoPortConnectInfo (LPDDVIDEOPORTCONTAINER iface,
173 DWORD PortId, DWORD* pNumEntries,
174 LPDDVIDEOPORTCONNECT pConnectInfo)
175 {
176 DX_WINDBG_trace();
177 DX_STUB;
178 }
179
180 HRESULT WINAPI
181 Main_DDVideoPortContainer_QueryVideoPortStatus (LPDDVIDEOPORTCONTAINER iface,
182 DWORD PortId,
183 LPDDVIDEOPORTSTATUS pStatus)
184 {
185 DX_WINDBG_trace();
186 DX_STUB;
187 }
188
189 /************* IDirectDrawVideoPortNotify *************/
190
191 HRESULT WINAPI
192 Main_DDVideoPortNotify_QueryInterface (LPDIRECTDRAWVIDEOPORTNOTIFY iface, REFIID
193 riid, LPVOID* ppvObj)
194 {
195 DX_WINDBG_trace();
196 DX_STUB;
197 }
198
199 ULONG WINAPI
200 Main_DDVideoPortNotify_AddRef (LPDIRECTDRAWVIDEOPORTNOTIFY iface)
201 {
202 DX_WINDBG_trace();
203 DX_STUB;
204 }
205
206 ULONG WINAPI
207 Main_DDVideoPortNotify_Release (LPDIRECTDRAWVIDEOPORTNOTIFY iface)
208 {
209 DX_WINDBG_trace();
210 DX_STUB;
211 }
212
213 HRESULT WINAPI Main_DDVideoPortNotify_AcquireNotification (LPDIRECTDRAWVIDEOPORTNOTIFY iface, HANDLE* h, LPDDVIDEOPORTNOTIFY pVideoPortNotify)
214 {
215 DX_WINDBG_trace();
216 DX_STUB;
217 }
218
219 HRESULT WINAPI Main_DDVideoPortNotify_ReleaseNotification (LPDIRECTDRAWVIDEOPORTNOTIFY iface, HANDLE h)
220 {
221 DX_WINDBG_trace();
222 DX_STUB;
223 }
224
225 IDirectDrawVideoPortVtbl DirectDrawVideoPort_Vtable =
226 {
227 Main_DirectDrawVideoPort_QueryInterface,
228 Main_DirectDrawVideoPort_AddRef,
229 Main_DirectDrawVideoPort_Release,
230 Main_DirectDrawVideoPort_Flip,
231 Main_DirectDrawVideoPort_GetBandwidthInfo,
232 Main_DirectDrawVideoPort_GetColorControls,
233 Main_DirectDrawVideoPort_GetInputFormats,
234 Main_DirectDrawVideoPort_GetOutputFormats,
235 Main_DirectDrawVideoPort_GetFieldPolarity,
236 Main_DirectDrawVideoPort_GetVideoLine,
237 Main_DirectDrawVideoPort_GetVideoSignalStatus,
238 Main_DirectDrawVideoPort_SetColorControls,
239 Main_DirectDrawVideoPort_SetTargetSurface,
240 Main_DirectDrawVideoPort_StartVideo,
241 Main_DirectDrawVideoPort_StopVideo,
242 Main_DirectDrawVideoPort_UpdateVideo,
243 Main_DirectDrawVideoPort_WaitForSync
244 };
245
246 IDDVideoPortContainerVtbl DDVideoPortContainer_Vtable =
247 {
248 Main_DDVideoPortContainer_QueryInterface,
249 Main_DDVideoPortContainer_AddRef,
250 Main_DDVideoPortContainer_Release,
251 Main_DDVideoPortContainer_CreateVideoPort,
252 Main_DDVideoPortContainer_EnumVideoPorts,
253 Main_DDVideoPortContainer_GetVideoPortConnectInfo,
254 Main_DDVideoPortContainer_QueryVideoPortStatus
255 };
256
257 IDirectDrawVideoPortNotifyVtbl DDVideoPortNotify_Vtable =
258 {
259 Main_DDVideoPortNotify_QueryInterface,
260 Main_DDVideoPortNotify_AddRef,
261 Main_DDVideoPortNotify_Release,
262 Main_DDVideoPortNotify_AcquireNotification,
263 Main_DDVideoPortNotify_ReleaseNotification
264 };