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 code | Description |
|---|---|
|
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 |
|
|
Library |
|
|
DLL |
|
See also