次の方法で共有


IWMPEffects 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 IWMPEffects interface.

Inheritance

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

Methods

The IWMPEffects interface has these methods.

 
IWMPEffects::DisplayPropertyPage

The DisplayPropertyPage method displays the property page of a visualization, if it exists.
IWMPEffects::GetCapabilities

The GetCapabilities method gets the capabilities of the visualization.
IWMPEffects::GetCurrentPreset

The GetCurrentPreset method gets the current preset, by number, from the visualization and provides it to Windows Media Player.
IWMPEffects::GetPresetCount

The GetPresetCount method gets the preset count.
IWMPEffects::GetPresetTitle

The GetPresetTitle method gets the title of the current preset.
IWMPEffects::GetTitle

The GetTitle method gets the display title of the visualization.
IWMPEffects::GoFullscreen

The GoFullscreen method instructs the visualization to switch to full-screen mode.
IWMPEffects::MediaInfo

The MediaInfo method sends channel and sample rate data to the visualization.
IWMPEffects::Render

The Render method renders the visualization.
IWMPEffects::RenderFullScreen

The RenderFullScreen method renders the visualization in full-screen mode.
IWMPEffects::SetCurrentPreset

The SetCurrentPreset method gets the current preset from Windows Media Player and sets it in the visualization.

Requirements

Requirement Value
Target Platform Windows
Header effects.h

See also

Custom Visualization Programming Reference

IWMPEffects2 Interface