IMFVideoDisplayControl::RepaintVideo method (evr.h)
Repaints the current video frame. Call this method whenever the application receives a WM_PAINT message.
Syntax
HRESULT RepaintVideo();
Return value
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
| Return code | Description |
|---|---|
|
The method succeeded. |
|
The EVR cannot repaint the frame at this time. This error can occur while the EVR is switching between full-screen and windowed mode. The caller can safely ignore this error. |
|
The video renderer has been shut down. |
Requirements
| Minimum supported client | Windows Vista [desktop apps only] |
| Minimum supported server | Windows Server 2008 [desktop apps only] |
| Target Platform | Windows |
| Header | evr.h |
| Library | Strmiids.lib |