IWMPEffects2 interface (effects.h)

[The feature associated with this page, Windows Media Player SDK, is a legacy feature. It has been superseded by MediaPlayer. MediaPlayer has been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer instead of Windows Media Player SDK, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

The IWMPEffects2 interface.

Inheritance

The IWMPEffects2 interface inherits from IWMPEffects. IWMPEffects2 also has these types of members:

Methods

The IWMPEffects2 interface has these methods.

 
IWMPEffects2::Create

The Create method is called by Windows Media Player to instantiate a visualization window.
IWMPEffects2::Destroy

The Destroy method is called by Windows Media Player to destroy a visualization window instantiated in the Create method.
IWMPEffects2::NotifyNewMedia

The NotifyNewMedia method is called by Windows Media Player to inform the visualization that a new media item has been loaded.
IWMPEffects2::OnWindowMessage

The OnWindowMessage method is called by Windows Media Player to pass window messages to a visualization.
IWMPEffects2::RenderWindowed

The RenderWindowed method is called by Windows Media Player to render a windowed visualization.
IWMPEffects2::SetCore

The SetCore method is called by Windows Media Player to provide visualization access to the core Windows Media Player APIs.

Requirements

Requirement Value
Target Platform Windows
Header effects.h

See also

Custom Visualization Programming Reference

IWMPEffects Interface