次の方法で共有


IWMPPluginEnable interface (wmpservices.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 IWMPPluginEnable interface is implemented by the plug-in. It sets and retrieves a value that represents whether the plug-in has been enabled by Windows Media Player.

Inheritance

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

Methods

The IWMPPluginEnable interface has these methods.

 
IWMPPluginEnable::GetEnable

The IWMPPluginEnable::GetEnable method returns a value indicating whether Windows Media Player has enabled the plug-in.
IWMPPluginEnable::SetEnable

The IWMPPluginEnable::SetEnable method retrieves a value indicating whether user has enabled the plug-in.

Requirements

Requirement Value
Target Platform Windows
Header wmpservices.h

See also

DSP Plug-in Interfaces