Freigeben über


IMFVideoDisplayControl::SetRenderingPrefs Method

Sets various preferences related to video rendering.

Syntax

HRESULT SetRenderingPrefs(
  [in]  DWORD dwRenderFlags
);

Parameter

  • dwRenderFlags [in]
    Bitwise OR of zero or more flags from the MFVideoRenderPrefs enumeration.

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.

E_INVALIDARG

Invalid flags.

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