Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

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

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.