IMVSCVideoWindow2
The IMVSCVideoWindow2 Interface extends the IMVSCVideoWindow interface.
Methods:
| SetExternalWindow | Set the video window to an external window. |
Typelib: MV SmartControl
Method IMVSCVideoWindow2::SetExternalWindow
Declaration: Sub SetExternalWindow(VideoRenderer As String, WindowHandle As Long, UseOriginalSize As Boolean, UseAspectRatio As Boolean)Set the video window to an external window.
Parameter:
C Prototype:
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. HRESULT SetExternalWindow(BSTR VideoRenderer, LONG WindowHandle, VARIANT_BOOL UseOriginalSize, VARIANT_BOOL UseAspectRatio);