Declaration: Sub
SetExternalWindow(VideoRenderer As String, WindowHandle As Long,
UseOriginalSize As Boolean, UseAspectRatio As Boolean)
Set the video window to an external window.
Parameter:
|
|
VideoRenderer |
Label from the video renderer filter within
the filter graph. |
|
|
WindowHandle |
The window handle from the new parent window from
the video window |
|
|
UseOriginalSize |
Use original vide size for the video window
size. |
|
|
UseAspectRatio |
Keep the aspect ratio if the video window was
resized. |
C Prototype:
HRESULT SetExternalWindow(BSTR
VideoRenderer, LONG WindowHandle, VARIANT_BOOL UseOriginalSize,
VARIANT_BOOL UseAspectRatio);