Compartir a través de


IWMPPlugin 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 IWMPPlugin interface is implemented by the plug-in. It manages the connection to Windows Media Player.

Note  The interface identifier GUID for this interface changed between the beta release and the final release.
 

Inheritance

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

Methods

The IWMPPlugin interface has these methods.

 
IWMPPlugin::AdviseWMPServices

The IWMPPlugin::AdviseWMPServices method is implemented by the plug-in.
IWMPPlugin::GetCaps

The IWMPPlugin::GetCaps method returns a flag that specifies whether the plug-in can convert between an input format and an output format.
IWMPPlugin::GetID

The IWMPPlugin::GetID method returns the class id of the plug-in.
IWMPPlugin::Init

The IWMPPlugin::Init method is called when Windows Media Player initializes the plug-in.
IWMPPlugin::Shutdown

The IWMPPlugin::Shutdown method is called when Windows Media Player shuts down the plug-in.
IWMPPlugin::UnAdviseWMPServices

The IWMPPlugin::UnAdviseWMPServices method is used to release the pointer provided by AdviseWMPServices.

Requirements

Requirement Value
Target Platform Windows
Header wmpservices.h

See also

DSP Plug-in Interfaces