다음을 통해 공유


IWMPPluginUI::Destroy method (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 Destroy method is called by Windows Media Player to shut down the plug-in user interface. This occurs when the user closes a plug-in in a separate window, switches out of the Now Playing pane, or selects a different display, settings, or metadata area plug-in to display in the Now Playing pane.

Syntax

HRESULT Destroy();

Return value

This method returns an HRESULT.

Remarks

This method is called by Windows Media Player for all user interface plug-in types except the background type.

Windows Media Player 10 Mobile: This method is not supported.

Requirements

Requirement Value
Minimum supported client Windows Media Player 9 Series or later.
Target Platform Windows
Header wmpplug.h

See also

IWMPPluginUI Interface