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

MFCreateVideoMixerAndPresenter function

Creates the default video mixer and video presenter for the enhanced video renderer (EVR).

Syntax


HRESULT MFCreateVideoMixerAndPresenter(
  _In_  IUnknown *pMixerOwner,
  _In_  IUnknown *pPresenterOwner,
  _In_  REFIID   riidMixer,
  _Out_ void     **ppvVideoMixer,
  _In_  REFIID   riidPresenter,
  _Out_ void     **ppvVideoPresenter
);

Parameters

pMixerOwner [in]

Pointer to the owner of the video mixer. If the mixer is aggregated, pass a pointer to the aggregating object's IUnknown interface. Otherwise, set this parameter to NULL.

pPresenterOwner [in]

Pointer to the owner of the video presenter. If the presenter is aggregated, pass a pointer to the aggregating object's IUnknown interface. Otherwise, set this parameter to NULL.

riidMixer [in]

Interface identifier (IID) of the requested interface on the video mixer. The video mixer exposes the IMFTransform interface.

ppvVideoMixer [out]

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

riidPresenter [in]

IID of the requested interface on the video presenter. The video presenter exposes the IMFVideoPresenter interface.

ppvVideoPresenter [out]

Receives a pointer to the requested interface on the video presenter. 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.

 

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Evr.h

Library

Evr.lib

DLL

Evr.dll

See also

Media Foundation Functions
Enhanced Video Renderer

 

 

Community Additions

ADD
Show:
© 2015 Microsoft