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