Freigeben über


IMFVideoDisplayControl::RepaintVideo Method

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

Syntax

HRESULT RepaintVideo();

Parameter

Methode umfasst keine Parameter.

Rückgabewert

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

Rückgabecode Beschreibung
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.

 

Anforderungen

Mindestens unterstützter Client

Windows Vista

Mindestens unterstützter Server

Windows Server 2008

Header

Evr.h

Bibliothek

Strmiids.lib

Siehe auch

IMFVideoDisplayControl

Enhanced Video Renderer

Using the Video Display Controls