IVMRWindowlessControl9::RepaintVideo
IVMRWindowlessControl9::RepaintVideo
 
Microsoft DirectShow 9.0

IVMRWindowlessControl9::RepaintVideo

The RepaintVideo method repaints the current video frame.

Syntax

HRESULT RepaintVideo(
  HWND  hwnd,
  HDC  hdc
);

Parameters

hwnd

[in]  Specifies the handle of the window in which the repainting should occur.

hdc

[in]  Specifies the handle to the device context for the window.

Return Values

The method returns an HRESULT. Possible values include those in the following table.

Value Description
S_OK The method succeeded.
VFW_E_WRONG_STATE The VMR is not in windowless mode.

Requirements

Header: Include D3d9.h, Vmr9.h.

Library: Use Strmiids.lib.

See Also


© 2009 Microsoft Corporation. All rights reserved.   Terms of Use | Trademarks | Privacy Statement
Page view tracker
Rate the Lightweight library
x
Lightweight builds on ScriptFree (loband) by adding features you've requested: a SearchBox and default code language selection.
Do you like the SearchBox?
Do you like the tabbed code blocks?
How useful is this topic?
Tell us more.
Thanks
x
You're helping to improve MSDN Online.
Feedback
Switch View
Classic
Lightweight Beta
ScriptFree
Switch View