IWiaVideo::ResizeVideo method (wiavideo.h)
The IWiaVideo::ResizeVideo method resizes the video playback to the largest supported resolution that fits inside the parent window. Call this method whenever the parent window is moved or resized.
Syntax
HRESULT ResizeVideo(
[in] BOOL bStretchToFitParent
);
Parameters
[in] bStretchToFitParent
Type: BOOL
Specifies whether the video playback is stretched to fill the parent window.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
By default, the video is displayed in a supported resolution smaller than the parent window. If bStretchToFitParent is set to TRUE, the video display fills the window.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | wiavideo.h |
DLL | Wiavideo.dll |