| 1 | /* $Id: ividwin.c,v 1.2 2001-09-05 13:36:37 bird Exp $ */
|
|---|
| 2 | /*
|
|---|
| 3 | * Implementation of IVideoWindow for FilterGraph.
|
|---|
| 4 | *
|
|---|
| 5 | * FIXME - stub.
|
|---|
| 6 | *
|
|---|
| 7 | * hidenori@a2.ctktv.ne.jp
|
|---|
| 8 | */
|
|---|
| 9 |
|
|---|
| 10 | #include "config.h"
|
|---|
| 11 |
|
|---|
| 12 | #include "windef.h"
|
|---|
| 13 | #include "winbase.h"
|
|---|
| 14 | #include "wingdi.h"
|
|---|
| 15 | #include "winerror.h"
|
|---|
| 16 | #include "wine/obj_base.h"
|
|---|
| 17 | #include "wine/obj_oleaut.h"
|
|---|
| 18 | #include "strmif.h"
|
|---|
| 19 | #include "control.h"
|
|---|
| 20 | #include "uuids.h"
|
|---|
| 21 |
|
|---|
| 22 | #include "debugtools.h"
|
|---|
| 23 | DEFAULT_DEBUG_CHANNEL(quartz);
|
|---|
| 24 |
|
|---|
| 25 | #include "quartz_private.h"
|
|---|
| 26 | #include "fgraph.h"
|
|---|
| 27 |
|
|---|
| 28 |
|
|---|
| 29 |
|
|---|
| 30 | static HRESULT WINAPI
|
|---|
| 31 | IVideoWindow_fnQueryInterface(IVideoWindow* iface,REFIID riid,void** ppobj)
|
|---|
| 32 | {
|
|---|
| 33 | CFilterGraph_THIS(iface,vidwin);
|
|---|
| 34 |
|
|---|
| 35 | TRACE("(%p)->()\n",This);
|
|---|
| 36 |
|
|---|
| 37 | return IUnknown_QueryInterface(This->unk.punkControl,riid,ppobj);
|
|---|
| 38 | }
|
|---|
| 39 |
|
|---|
| 40 | static ULONG WINAPI
|
|---|
| 41 | IVideoWindow_fnAddRef(IVideoWindow* iface)
|
|---|
| 42 | {
|
|---|
| 43 | CFilterGraph_THIS(iface,vidwin);
|
|---|
| 44 |
|
|---|
| 45 | TRACE("(%p)->()\n",This);
|
|---|
| 46 |
|
|---|
| 47 | return IUnknown_AddRef(This->unk.punkControl);
|
|---|
| 48 | }
|
|---|
| 49 |
|
|---|
| 50 | static ULONG WINAPI
|
|---|
| 51 | IVideoWindow_fnRelease(IVideoWindow* iface)
|
|---|
| 52 | {
|
|---|
| 53 | CFilterGraph_THIS(iface,vidwin);
|
|---|
| 54 |
|
|---|
| 55 | TRACE("(%p)->()\n",This);
|
|---|
| 56 |
|
|---|
| 57 | return IUnknown_Release(This->unk.punkControl);
|
|---|
| 58 | }
|
|---|
| 59 |
|
|---|
| 60 | static HRESULT WINAPI
|
|---|
| 61 | IVideoWindow_fnGetTypeInfoCount(IVideoWindow* iface,UINT* pcTypeInfo)
|
|---|
| 62 | {
|
|---|
| 63 | CFilterGraph_THIS(iface,vidwin);
|
|---|
| 64 |
|
|---|
| 65 | FIXME("(%p)->()\n",This);
|
|---|
| 66 |
|
|---|
| 67 | return E_NOTIMPL;
|
|---|
| 68 | }
|
|---|
| 69 |
|
|---|
| 70 | static HRESULT WINAPI
|
|---|
| 71 | IVideoWindow_fnGetTypeInfo(IVideoWindow* iface,UINT iTypeInfo, LCID lcid, ITypeInfo** ppobj)
|
|---|
| 72 | {
|
|---|
| 73 | CFilterGraph_THIS(iface,vidwin);
|
|---|
| 74 |
|
|---|
| 75 | FIXME("(%p)->()\n",This);
|
|---|
| 76 |
|
|---|
| 77 | return E_NOTIMPL;
|
|---|
| 78 | }
|
|---|
| 79 |
|
|---|
| 80 | static HRESULT WINAPI
|
|---|
| 81 | IVideoWindow_fnGetIDsOfNames(IVideoWindow* iface,REFIID riid, LPOLESTR* ppwszName, UINT cNames, LCID lcid, DISPID* pDispId)
|
|---|
| 82 | {
|
|---|
| 83 | CFilterGraph_THIS(iface,vidwin);
|
|---|
| 84 |
|
|---|
| 85 | FIXME("(%p)->()\n",This);
|
|---|
| 86 |
|
|---|
| 87 | return E_NOTIMPL;
|
|---|
| 88 | }
|
|---|
| 89 |
|
|---|
| 90 | static HRESULT WINAPI
|
|---|
| 91 | IVideoWindow_fnInvoke(IVideoWindow* iface,DISPID DispId, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS* pDispParams, VARIANT* pVarRes, EXCEPINFO* pExcepInfo, UINT* puArgErr)
|
|---|
| 92 | {
|
|---|
| 93 | CFilterGraph_THIS(iface,vidwin);
|
|---|
| 94 |
|
|---|
| 95 | FIXME("(%p)->()\n",This);
|
|---|
| 96 |
|
|---|
| 97 | return E_NOTIMPL;
|
|---|
| 98 | }
|
|---|
| 99 |
|
|---|
| 100 |
|
|---|
| 101 |
|
|---|
| 102 | static HRESULT WINAPI
|
|---|
| 103 | IVideoWindow_fnput_Caption(IVideoWindow* iface,BSTR strCaption)
|
|---|
| 104 | {
|
|---|
| 105 | CFilterGraph_THIS(iface,vidwin);
|
|---|
| 106 |
|
|---|
| 107 | FIXME("(%p)->() stub!\n",This);
|
|---|
| 108 |
|
|---|
| 109 | return E_NOTIMPL;
|
|---|
| 110 | }
|
|---|
| 111 |
|
|---|
| 112 | static HRESULT WINAPI
|
|---|
| 113 | IVideoWindow_fnget_Caption(IVideoWindow* iface,BSTR* pstrCaption)
|
|---|
| 114 | {
|
|---|
| 115 | CFilterGraph_THIS(iface,vidwin);
|
|---|
| 116 |
|
|---|
| 117 | FIXME("(%p)->() stub!\n",This);
|
|---|
| 118 |
|
|---|
| 119 | return E_NOTIMPL;
|
|---|
| 120 | }
|
|---|
| 121 |
|
|---|
| 122 | static HRESULT WINAPI
|
|---|
| 123 | IVideoWindow_fnput_WindowStyle(IVideoWindow* iface,long lStyle)
|
|---|
| 124 | {
|
|---|
| 125 | CFilterGraph_THIS(iface,vidwin);
|
|---|
| 126 |
|
|---|
| 127 | FIXME("(%p)->() stub!\n",This);
|
|---|
| 128 |
|
|---|
| 129 | return E_NOTIMPL;
|
|---|
| 130 | }
|
|---|
| 131 |
|
|---|
| 132 | static HRESULT WINAPI
|
|---|
| 133 | IVideoWindow_fnget_WindowStyle(IVideoWindow* iface,long* plStyle)
|
|---|
| 134 | {
|
|---|
| 135 | CFilterGraph_THIS(iface,vidwin);
|
|---|
| 136 |
|
|---|
| 137 | FIXME("(%p)->() stub!\n",This);
|
|---|
| 138 |
|
|---|
| 139 | return E_NOTIMPL;
|
|---|
| 140 | }
|
|---|
| 141 |
|
|---|
| 142 | static HRESULT WINAPI
|
|---|
| 143 | IVideoWindow_fnput_WindowStyleEx(IVideoWindow* iface,long lExStyle)
|
|---|
| 144 | {
|
|---|
| 145 | CFilterGraph_THIS(iface,vidwin);
|
|---|
| 146 |
|
|---|
| 147 | FIXME("(%p)->() stub!\n",This);
|
|---|
| 148 |
|
|---|
| 149 | return E_NOTIMPL;
|
|---|
| 150 | }
|
|---|
| 151 |
|
|---|
| 152 | static HRESULT WINAPI
|
|---|
| 153 | IVideoWindow_fnget_WindowStyleEx(IVideoWindow* iface,long* plExStyle)
|
|---|
| 154 | {
|
|---|
| 155 | CFilterGraph_THIS(iface,vidwin);
|
|---|
| 156 |
|
|---|
| 157 | FIXME("(%p)->() stub!\n",This);
|
|---|
| 158 |
|
|---|
| 159 | return E_NOTIMPL;
|
|---|
| 160 | }
|
|---|
| 161 |
|
|---|
| 162 | static HRESULT WINAPI
|
|---|
| 163 | IVideoWindow_fnput_AutoShow(IVideoWindow* iface,long lAutoShow)
|
|---|
| 164 | {
|
|---|
| 165 | CFilterGraph_THIS(iface,vidwin);
|
|---|
| 166 |
|
|---|
| 167 | FIXME("(%p)->() stub!\n",This);
|
|---|
| 168 |
|
|---|
| 169 | return E_NOTIMPL;
|
|---|
| 170 | }
|
|---|
| 171 |
|
|---|
| 172 | static HRESULT WINAPI
|
|---|
| 173 | IVideoWindow_fnget_AutoShow(IVideoWindow* iface,long* plAutoShow)
|
|---|
| 174 | {
|
|---|
| 175 | CFilterGraph_THIS(iface,vidwin);
|
|---|
| 176 |
|
|---|
| 177 | FIXME("(%p)->() stub!\n",This);
|
|---|
| 178 |
|
|---|
| 179 | return E_NOTIMPL;
|
|---|
| 180 | }
|
|---|
| 181 |
|
|---|
| 182 | static HRESULT WINAPI
|
|---|
| 183 | IVideoWindow_fnput_WindowState(IVideoWindow* iface,long lState)
|
|---|
| 184 | {
|
|---|
| 185 | CFilterGraph_THIS(iface,vidwin);
|
|---|
| 186 |
|
|---|
| 187 | FIXME("(%p)->() stub!\n",This);
|
|---|
| 188 |
|
|---|
| 189 | return E_NOTIMPL;
|
|---|
| 190 | }
|
|---|
| 191 |
|
|---|
| 192 | static HRESULT WINAPI
|
|---|
| 193 | IVideoWindow_fnget_WindowState(IVideoWindow* iface,long* plState)
|
|---|
| 194 | {
|
|---|
| 195 | CFilterGraph_THIS(iface,vidwin);
|
|---|
| 196 |
|
|---|
| 197 | FIXME("(%p)->() stub!\n",This);
|
|---|
| 198 |
|
|---|
| 199 | return E_NOTIMPL;
|
|---|
| 200 | }
|
|---|
| 201 |
|
|---|
| 202 | static HRESULT WINAPI
|
|---|
| 203 | IVideoWindow_fnput_BackgroundPalette(IVideoWindow* iface,long lBackPal)
|
|---|
| 204 | {
|
|---|
| 205 | CFilterGraph_THIS(iface,vidwin);
|
|---|
| 206 |
|
|---|
| 207 | FIXME("(%p)->() stub!\n",This);
|
|---|
| 208 |
|
|---|
| 209 | return E_NOTIMPL;
|
|---|
| 210 | }
|
|---|
| 211 |
|
|---|
| 212 | static HRESULT WINAPI
|
|---|
| 213 | IVideoWindow_fnget_BackgroundPalette(IVideoWindow* iface,long* plBackPal)
|
|---|
| 214 | {
|
|---|
| 215 | CFilterGraph_THIS(iface,vidwin);
|
|---|
| 216 |
|
|---|
| 217 | FIXME("(%p)->() stub!\n",This);
|
|---|
| 218 |
|
|---|
| 219 | return E_NOTIMPL;
|
|---|
| 220 | }
|
|---|
| 221 |
|
|---|
| 222 | static HRESULT WINAPI
|
|---|
| 223 | IVideoWindow_fnput_Visible(IVideoWindow* iface,long lVisible)
|
|---|
| 224 | {
|
|---|
| 225 | CFilterGraph_THIS(iface,vidwin);
|
|---|
| 226 |
|
|---|
| 227 | FIXME("(%p)->() stub!\n",This);
|
|---|
| 228 |
|
|---|
| 229 | return E_NOTIMPL;
|
|---|
| 230 | }
|
|---|
| 231 |
|
|---|
| 232 | static HRESULT WINAPI
|
|---|
| 233 | IVideoWindow_fnget_Visible(IVideoWindow* iface,long* plVisible)
|
|---|
| 234 | {
|
|---|
| 235 | CFilterGraph_THIS(iface,vidwin);
|
|---|
| 236 |
|
|---|
| 237 | FIXME("(%p)->() stub!\n",This);
|
|---|
| 238 |
|
|---|
| 239 | return E_NOTIMPL;
|
|---|
| 240 | }
|
|---|
| 241 |
|
|---|
| 242 | static HRESULT WINAPI
|
|---|
| 243 | IVideoWindow_fnput_Left(IVideoWindow* iface,long lLeft)
|
|---|
| 244 | {
|
|---|
| 245 | CFilterGraph_THIS(iface,vidwin);
|
|---|
| 246 |
|
|---|
| 247 | FIXME("(%p)->() stub!\n",This);
|
|---|
| 248 |
|
|---|
| 249 | return E_NOTIMPL;
|
|---|
| 250 | }
|
|---|
| 251 |
|
|---|
| 252 | static HRESULT WINAPI
|
|---|
| 253 | IVideoWindow_fnget_Left(IVideoWindow* iface,long* plLeft)
|
|---|
| 254 | {
|
|---|
| 255 | CFilterGraph_THIS(iface,vidwin);
|
|---|
| 256 |
|
|---|
| 257 | FIXME("(%p)->() stub!\n",This);
|
|---|
| 258 |
|
|---|
| 259 | return E_NOTIMPL;
|
|---|
| 260 | }
|
|---|
| 261 |
|
|---|
| 262 | static HRESULT WINAPI
|
|---|
| 263 | IVideoWindow_fnput_Width(IVideoWindow* iface,long lWidth)
|
|---|
| 264 | {
|
|---|
| 265 | CFilterGraph_THIS(iface,vidwin);
|
|---|
| 266 |
|
|---|
| 267 | FIXME("(%p)->() stub!\n",This);
|
|---|
| 268 |
|
|---|
| 269 | return E_NOTIMPL;
|
|---|
| 270 | }
|
|---|
| 271 |
|
|---|
| 272 | static HRESULT WINAPI
|
|---|
| 273 | IVideoWindow_fnget_Width(IVideoWindow* iface,long* plWidth)
|
|---|
| 274 | {
|
|---|
| 275 | CFilterGraph_THIS(iface,vidwin);
|
|---|
| 276 |
|
|---|
| 277 | FIXME("(%p)->() stub!\n",This);
|
|---|
| 278 |
|
|---|
| 279 | return E_NOTIMPL;
|
|---|
| 280 | }
|
|---|
| 281 |
|
|---|
| 282 | static HRESULT WINAPI
|
|---|
| 283 | IVideoWindow_fnput_Top(IVideoWindow* iface,long lTop)
|
|---|
| 284 | {
|
|---|
| 285 | CFilterGraph_THIS(iface,vidwin);
|
|---|
| 286 |
|
|---|
| 287 | FIXME("(%p)->() stub!\n",This);
|
|---|
| 288 |
|
|---|
| 289 | return E_NOTIMPL;
|
|---|
| 290 | }
|
|---|
| 291 |
|
|---|
| 292 | static HRESULT WINAPI
|
|---|
| 293 | IVideoWindow_fnget_Top(IVideoWindow* iface,long* plTop)
|
|---|
| 294 | {
|
|---|
| 295 | CFilterGraph_THIS(iface,vidwin);
|
|---|
| 296 |
|
|---|
| 297 | FIXME("(%p)->() stub!\n",This);
|
|---|
| 298 |
|
|---|
| 299 | return E_NOTIMPL;
|
|---|
| 300 | }
|
|---|
| 301 |
|
|---|
| 302 | static HRESULT WINAPI
|
|---|
| 303 | IVideoWindow_fnput_Height(IVideoWindow* iface,long lHeight)
|
|---|
| 304 | {
|
|---|
| 305 | CFilterGraph_THIS(iface,vidwin);
|
|---|
| 306 |
|
|---|
| 307 | FIXME("(%p)->() stub!\n",This);
|
|---|
| 308 |
|
|---|
| 309 | return E_NOTIMPL;
|
|---|
| 310 | }
|
|---|
| 311 |
|
|---|
| 312 | static HRESULT WINAPI
|
|---|
| 313 | IVideoWindow_fnget_Height(IVideoWindow* iface,long* plHeight)
|
|---|
| 314 | {
|
|---|
| 315 | CFilterGraph_THIS(iface,vidwin);
|
|---|
| 316 |
|
|---|
| 317 | FIXME("(%p)->() stub!\n",This);
|
|---|
| 318 |
|
|---|
| 319 | return E_NOTIMPL;
|
|---|
| 320 | }
|
|---|
| 321 |
|
|---|
| 322 | static HRESULT WINAPI
|
|---|
| 323 | IVideoWindow_fnput_Owner(IVideoWindow* iface,OAHWND hwnd)
|
|---|
| 324 | {
|
|---|
| 325 | CFilterGraph_THIS(iface,vidwin);
|
|---|
| 326 |
|
|---|
| 327 | FIXME("(%p)->() stub!\n",This);
|
|---|
| 328 |
|
|---|
| 329 | return E_NOTIMPL;
|
|---|
| 330 | }
|
|---|
| 331 |
|
|---|
| 332 | static HRESULT WINAPI
|
|---|
| 333 | IVideoWindow_fnget_Owner(IVideoWindow* iface,OAHWND* phwnd)
|
|---|
| 334 | {
|
|---|
| 335 | CFilterGraph_THIS(iface,vidwin);
|
|---|
| 336 |
|
|---|
| 337 | FIXME("(%p)->() stub!\n",This);
|
|---|
| 338 |
|
|---|
| 339 | return E_NOTIMPL;
|
|---|
| 340 | }
|
|---|
| 341 |
|
|---|
| 342 | static HRESULT WINAPI
|
|---|
| 343 | IVideoWindow_fnput_MessageDrain(IVideoWindow* iface,OAHWND hwnd)
|
|---|
| 344 | {
|
|---|
| 345 | CFilterGraph_THIS(iface,vidwin);
|
|---|
| 346 |
|
|---|
| 347 | FIXME("(%p)->() stub!\n",This);
|
|---|
| 348 |
|
|---|
| 349 | return E_NOTIMPL;
|
|---|
| 350 | }
|
|---|
| 351 |
|
|---|
| 352 | static HRESULT WINAPI
|
|---|
| 353 | IVideoWindow_fnget_MessageDrain(IVideoWindow* iface,OAHWND* phwnd)
|
|---|
| 354 | {
|
|---|
| 355 | CFilterGraph_THIS(iface,vidwin);
|
|---|
| 356 |
|
|---|
| 357 | FIXME("(%p)->() stub!\n",This);
|
|---|
| 358 |
|
|---|
| 359 | return E_NOTIMPL;
|
|---|
| 360 | }
|
|---|
| 361 |
|
|---|
| 362 | static HRESULT WINAPI
|
|---|
| 363 | IVideoWindow_fnget_BorderColor(IVideoWindow* iface,long* plColor)
|
|---|
| 364 | {
|
|---|
| 365 | CFilterGraph_THIS(iface,vidwin);
|
|---|
| 366 |
|
|---|
| 367 | FIXME("(%p)->() stub!\n",This);
|
|---|
| 368 |
|
|---|
| 369 | return E_NOTIMPL;
|
|---|
| 370 | }
|
|---|
| 371 |
|
|---|
| 372 | static HRESULT WINAPI
|
|---|
| 373 | IVideoWindow_fnput_BorderColor(IVideoWindow* iface,long lColor)
|
|---|
| 374 | {
|
|---|
| 375 | CFilterGraph_THIS(iface,vidwin);
|
|---|
| 376 |
|
|---|
| 377 | FIXME("(%p)->() stub!\n",This);
|
|---|
| 378 |
|
|---|
| 379 | return E_NOTIMPL;
|
|---|
| 380 | }
|
|---|
| 381 |
|
|---|
| 382 | static HRESULT WINAPI
|
|---|
| 383 | IVideoWindow_fnget_FullScreenMode(IVideoWindow* iface,long* plMode)
|
|---|
| 384 | {
|
|---|
| 385 | CFilterGraph_THIS(iface,vidwin);
|
|---|
| 386 |
|
|---|
| 387 | FIXME("(%p)->() stub!\n",This);
|
|---|
| 388 |
|
|---|
| 389 | return E_NOTIMPL;
|
|---|
| 390 | }
|
|---|
| 391 |
|
|---|
| 392 | static HRESULT WINAPI
|
|---|
| 393 | IVideoWindow_fnput_FullScreenMode(IVideoWindow* iface,long lMode)
|
|---|
| 394 | {
|
|---|
| 395 | CFilterGraph_THIS(iface,vidwin);
|
|---|
| 396 |
|
|---|
| 397 | FIXME("(%p)->() stub!\n",This);
|
|---|
| 398 |
|
|---|
| 399 | return E_NOTIMPL;
|
|---|
| 400 | }
|
|---|
| 401 |
|
|---|
| 402 | static HRESULT WINAPI
|
|---|
| 403 | IVideoWindow_fnSetWindowForeground(IVideoWindow* iface,long lFocus)
|
|---|
| 404 | {
|
|---|
| 405 | CFilterGraph_THIS(iface,vidwin);
|
|---|
| 406 |
|
|---|
| 407 | FIXME("(%p)->() stub!\n",This);
|
|---|
| 408 |
|
|---|
| 409 | return E_NOTIMPL;
|
|---|
| 410 | }
|
|---|
| 411 |
|
|---|
| 412 | static HRESULT WINAPI
|
|---|
| 413 | IVideoWindow_fnNotifyOwnerMessage(IVideoWindow* iface,OAHWND hwnd,long message,LONG_PTR wParam,LONG_PTR lParam)
|
|---|
| 414 | {
|
|---|
| 415 | CFilterGraph_THIS(iface,vidwin);
|
|---|
| 416 |
|
|---|
| 417 | FIXME("(%p)->() stub!\n",This);
|
|---|
| 418 |
|
|---|
| 419 | return E_NOTIMPL;
|
|---|
| 420 | }
|
|---|
| 421 |
|
|---|
| 422 | static HRESULT WINAPI
|
|---|
| 423 | IVideoWindow_fnSetWindowPosition(IVideoWindow* iface,long lLeft,long lTop,long lWidth,long lHeight)
|
|---|
| 424 | {
|
|---|
| 425 | CFilterGraph_THIS(iface,vidwin);
|
|---|
| 426 |
|
|---|
| 427 | FIXME("(%p)->() stub!\n",This);
|
|---|
| 428 |
|
|---|
| 429 | return E_NOTIMPL;
|
|---|
| 430 | }
|
|---|
| 431 |
|
|---|
| 432 | static HRESULT WINAPI
|
|---|
| 433 | IVideoWindow_fnGetWindowPosition(IVideoWindow* iface,long* plLeft,long* plTop,long* plWidth,long* plHeight)
|
|---|
| 434 | {
|
|---|
| 435 | CFilterGraph_THIS(iface,vidwin);
|
|---|
| 436 |
|
|---|
| 437 | FIXME("(%p)->() stub!\n",This);
|
|---|
| 438 |
|
|---|
| 439 | return E_NOTIMPL;
|
|---|
| 440 | }
|
|---|
| 441 |
|
|---|
| 442 | static HRESULT WINAPI
|
|---|
| 443 | IVideoWindow_fnGetMinIdealImageSize(IVideoWindow* iface,long* plWidth,long* plHeight)
|
|---|
| 444 | {
|
|---|
| 445 | CFilterGraph_THIS(iface,vidwin);
|
|---|
| 446 |
|
|---|
| 447 | FIXME("(%p)->() stub!\n",This);
|
|---|
| 448 |
|
|---|
| 449 | return E_NOTIMPL;
|
|---|
| 450 | }
|
|---|
| 451 |
|
|---|
| 452 | static HRESULT WINAPI
|
|---|
| 453 | IVideoWindow_fnGetMaxIdealImageSize(IVideoWindow* iface,long* plWidth,long* plHeight)
|
|---|
| 454 | {
|
|---|
| 455 | CFilterGraph_THIS(iface,vidwin);
|
|---|
| 456 |
|
|---|
| 457 | FIXME("(%p)->() stub!\n",This);
|
|---|
| 458 |
|
|---|
| 459 | return E_NOTIMPL;
|
|---|
| 460 | }
|
|---|
| 461 |
|
|---|
| 462 | static HRESULT WINAPI
|
|---|
| 463 | IVideoWindow_fnGetRestorePosition(IVideoWindow* iface,long* plLeft,long* plTop,long* plWidth,long* plHeight)
|
|---|
| 464 | {
|
|---|
| 465 | CFilterGraph_THIS(iface,vidwin);
|
|---|
| 466 |
|
|---|
| 467 | FIXME("(%p)->() stub!\n",This);
|
|---|
| 468 |
|
|---|
| 469 | return E_NOTIMPL;
|
|---|
| 470 | }
|
|---|
| 471 |
|
|---|
| 472 | static HRESULT WINAPI
|
|---|
| 473 | IVideoWindow_fnHideCursor(IVideoWindow* iface,long lHide)
|
|---|
| 474 | {
|
|---|
| 475 | CFilterGraph_THIS(iface,vidwin);
|
|---|
| 476 |
|
|---|
| 477 | FIXME("(%p)->() stub!\n",This);
|
|---|
| 478 |
|
|---|
| 479 | return E_NOTIMPL;
|
|---|
| 480 | }
|
|---|
| 481 |
|
|---|
| 482 | static HRESULT WINAPI
|
|---|
| 483 | IVideoWindow_fnIsCursorHidden(IVideoWindow* iface,long* plHide)
|
|---|
| 484 | {
|
|---|
| 485 | CFilterGraph_THIS(iface,vidwin);
|
|---|
| 486 |
|
|---|
| 487 | FIXME("(%p)->() stub!\n",This);
|
|---|
| 488 |
|
|---|
| 489 | return E_NOTIMPL;
|
|---|
| 490 | }
|
|---|
| 491 |
|
|---|
| 492 |
|
|---|
| 493 |
|
|---|
| 494 |
|
|---|
| 495 | static ICOM_VTABLE(IVideoWindow) ivideowindow =
|
|---|
| 496 | {
|
|---|
| 497 | ICOM_MSVTABLE_COMPAT_DummyRTTIVALUE
|
|---|
| 498 | /* IUnknown fields */
|
|---|
| 499 | IVideoWindow_fnQueryInterface,
|
|---|
| 500 | IVideoWindow_fnAddRef,
|
|---|
| 501 | IVideoWindow_fnRelease,
|
|---|
| 502 | /* IDispatch fields */
|
|---|
| 503 | IVideoWindow_fnGetTypeInfoCount,
|
|---|
| 504 | IVideoWindow_fnGetTypeInfo,
|
|---|
| 505 | IVideoWindow_fnGetIDsOfNames,
|
|---|
| 506 | IVideoWindow_fnInvoke,
|
|---|
| 507 | /* IVideoWindow fields */
|
|---|
| 508 | IVideoWindow_fnput_Caption,
|
|---|
| 509 | IVideoWindow_fnget_Caption,
|
|---|
| 510 | IVideoWindow_fnput_WindowStyle,
|
|---|
| 511 | IVideoWindow_fnget_WindowStyle,
|
|---|
| 512 | IVideoWindow_fnput_WindowStyleEx,
|
|---|
| 513 | IVideoWindow_fnget_WindowStyleEx,
|
|---|
| 514 | IVideoWindow_fnput_AutoShow,
|
|---|
| 515 | IVideoWindow_fnget_AutoShow,
|
|---|
| 516 | IVideoWindow_fnput_WindowState,
|
|---|
| 517 | IVideoWindow_fnget_WindowState,
|
|---|
| 518 | IVideoWindow_fnput_BackgroundPalette,
|
|---|
| 519 | IVideoWindow_fnget_BackgroundPalette,
|
|---|
| 520 | IVideoWindow_fnput_Visible,
|
|---|
| 521 | IVideoWindow_fnget_Visible,
|
|---|
| 522 | IVideoWindow_fnput_Left,
|
|---|
| 523 | IVideoWindow_fnget_Left,
|
|---|
| 524 | IVideoWindow_fnput_Width,
|
|---|
| 525 | IVideoWindow_fnget_Width,
|
|---|
| 526 | IVideoWindow_fnput_Top,
|
|---|
| 527 | IVideoWindow_fnget_Top,
|
|---|
| 528 | IVideoWindow_fnput_Height,
|
|---|
| 529 | IVideoWindow_fnget_Height,
|
|---|
| 530 | IVideoWindow_fnput_Owner,
|
|---|
| 531 | IVideoWindow_fnget_Owner,
|
|---|
| 532 | IVideoWindow_fnput_MessageDrain,
|
|---|
| 533 | IVideoWindow_fnget_MessageDrain,
|
|---|
| 534 | IVideoWindow_fnget_BorderColor,
|
|---|
| 535 | IVideoWindow_fnput_BorderColor,
|
|---|
| 536 | IVideoWindow_fnget_FullScreenMode,
|
|---|
| 537 | IVideoWindow_fnput_FullScreenMode,
|
|---|
| 538 | IVideoWindow_fnSetWindowForeground,
|
|---|
| 539 | IVideoWindow_fnNotifyOwnerMessage,
|
|---|
| 540 | IVideoWindow_fnSetWindowPosition,
|
|---|
| 541 | IVideoWindow_fnGetWindowPosition,
|
|---|
| 542 | IVideoWindow_fnGetMinIdealImageSize,
|
|---|
| 543 | IVideoWindow_fnGetMaxIdealImageSize,
|
|---|
| 544 | IVideoWindow_fnGetRestorePosition,
|
|---|
| 545 | IVideoWindow_fnHideCursor,
|
|---|
| 546 | IVideoWindow_fnIsCursorHidden,
|
|---|
| 547 |
|
|---|
| 548 | };
|
|---|
| 549 |
|
|---|
| 550 |
|
|---|
| 551 | void CFilterGraph_InitIVideoWindow( CFilterGraph* pfg )
|
|---|
| 552 | {
|
|---|
| 553 | TRACE("(%p)\n",pfg);
|
|---|
| 554 | ICOM_VTBL(&pfg->vidwin) = &ivideowindow;
|
|---|
| 555 | }
|
|---|