Export (0) Print
Expand All

IMFVideoDisplayControl::RepaintVideo method

Repaints the current video frame. Call this method whenever the application receives a WM_PAINT message.

Syntax


HRESULT RepaintVideo();

Parameters

This method has no parameters.

Return value

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return codeDescription
S_OK

The method succeeded.

MF_E_INVALIDREQUEST

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.

MF_E_SHUTDOWN

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]

Header

Evr.h

Library

Strmiids.lib

See also

IMFVideoDisplayControl
Enhanced Video Renderer
Using the Video Display Controls

 

 

Community Additions

ADD
Show:
© 2014 Microsoft