Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

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:
© 2015 Microsoft