共用方式為


IMFTopologyServiceLookup interface (evr.h)

[The component described on this page, Enhanced Video Renderer, is a legacy feature. It has been superseded by the Simple Video Renderer (SVR) exposed through the MediaPlayer and IMFMediaEngine components. To play video content you should send data into one of these components and allow them to instantiate the new video renderer. These components have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer or the lower level IMFMediaEngine APIs to play video media in Windows instead of the EVR, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

Enables a custom video mixer or video presenter to get interface pointers from the Enhanced Video Renderer (EVR). The mixer can also use this interface to get interface pointers from the presenter, and the presenter can use it to get interface pointers from the mixer.

To use this interface, implement the IMFTopologyServiceLookupClient interface on your custom mixer or presenter. The EVR calls IMFTopologyServiceLookupClient::InitServicePointers with a pointer to the EVR's IMFTopologyServiceLookup interface.

Inheritance

The IMFTopologyServiceLookup interface inherits from the IUnknown interface. IMFTopologyServiceLookup also has these types of members:

Methods

The IMFTopologyServiceLookup interface has these methods.

 
IMFTopologyServiceLookup::LookupService

Retrieves an interface from the enhanced video renderer (EVR), or from the video mixer or video presenter.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header evr.h

See also

How to Write an EVR Presenter

Media Foundation Interfaces