다음을 통해 공유


IWMPPluginUI interface (wmpplug.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 IWMPPluginUI interface manages the connection to Windows Media Player.

Inheritance

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

Methods

The IWMPPluginUI interface has these methods.

 
IWMPPluginUI::Create

The Create method is called by Windows Media Player to instantiate the plug-in user interface. This method is passed a handle to a parent window of the plug-in window. A handle to the newly created window is then passed back to the calling method.
IWMPPluginUI::Destroy

The Destroy method is called by Windows Media Player to shut down the plug-in user interface.
IWMPPluginUI::DisplayPropertyPage

The DisplayPropertyPage method is called by Windows Media Player to request that the plug-in display its property page. This method is passed a handle to a parent window of the plug-in property page dialog box.
IWMPPluginUI::GetProperty

The GetProperty method is called by Windows Media Player to retrieve name/value property pairs from the plug-in.
IWMPPluginUI::SetCore

The SetCore method is called by Windows Media Player to provide plug-in access to the core Windows Media Player APIs.
IWMPPluginUI::SetProperty

The SetProperty method is called by Windows Media Player to set name/value property pairs for the plug-in.
IWMPPluginUI::TranslateAccelerator

The TranslateAccelerator method is called as part of the Windows Media Player message loop to allow the plug-in to intercept and respond to keyboard events.

Requirements

Requirement Value
Target Platform Windows
Header wmpplug.h

See also

User Interface Plug-ins Programming Reference