Export (0) Print
Expand All
Expand Minimize
1 out of 3 rated this helpful - Rate this topic

MFCreateVideoRenderer function

Creates an instance of the enhanced video renderer (EVR) media sink.

Syntax


HRESULT MFCreateVideoRenderer(
  _In_   REFIID riidRenderer,
  _Out_  void **ppVideoRenderer
);

Parameters

riidRenderer [in]

Interface identifier (IID) of the requested interface on the EVR.

ppVideoRenderer [out]

Receives a pointer to the requested interface. The caller must release the interface.

Return value

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

Return codeDescription
S_OK

The method succeeded.

 

Remarks

This function creates the Media Foundation version of the EVR. To create the DirectShow EVR filter, call CoCreateInstance with the class identifier CLSID_EnhancedVideoRenderer.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Evr.h

Library

Mf.lib

DLL

Mf.dll

See also

Media Foundation Functions
Enhanced Video Renderer

 

 

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.