|Microsoft DirectX 9.0|
The RepaintVideo method repaints the current video frame.
HRESULT RepaintVideo( HWND hwnd, HDC hdc );
[in] Specifies the handle of the window in which the repainting should occur.
[in] Specifies the handle to the device context for the window.
The method returns an HRESULT. Possible values include those in the following table.
|S_OK||The method succeeded.|
|VFW_E_WRONG_STATE||The VMR is not in windowless mode.|
Include D3d9.h, Vmr9.h.