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