Windows Media Player 11 SDK IWMPGraphCreation Interface 

Windows Media Player SDK banner art

Previous Next

IWMPGraphCreation Interface

Some of the features documented in this section are available in Windows Media Player 10 and Windows Media Player 11 running on Microsoft Windows XP. They might not be available in subsequent versions.

The IWMPGraphCreation interface can be implemented by an application that embeds the Windows Media Player control. It provides methods that Windows Media Player calls to enable you to manage the DirectShow graph.

The Windows Media Player control retrieves a pointer to this interface by calling IServiceProvider::QueryService. When you implement IWMPGraphCreation, you must also implement IServiceProvider and return the correct pointer when QueryService is called with IID_IWMPGraphCreation as the value for the second parameter.

This interface is not supported when remoting the Windows Media Player control.

In addition to the methods inherited from IUnknown, the IWMPGraphCreation interface exposes the following methods.

Method Description
GetGraphCreationFlags Called by Windows Media Player to retrieve a value that represents the graph creation preferences.
GraphCreationPostRender (deprecated) Called by Windows Media Player after a file has been rendered.
GraphCreationPreRender (deprecated) Called by Windows Media Player before a file has been rendered.

See Also

Previous Next