Share via


Windows Media Player 11 SDK IWMPPluginUI::SetCore 

Windows Media Player SDK banner art

Previous Next

IWMPPluginUI::SetCore

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

Syntax

  

Parameters

pCore

[in]  Pointer to an IWMPCore interface.

Return Values

This method returns an HRESULT.

Remarks

This method is called by Windows Media Player to allow the plug-in to set or release a pointer to the IWMPCore interface. If pCore is NULL, the plug-in is being shut down and all stored references to the core should be released.

This method is not called when Windows Media Player instantiates the plug-in for the purpose of displaying its property page. This method can therefore be used as an entry point that will only be called when the plug-in is enabled and Windows Media Player loads it normally.

Requirements

Version: Windows Media Player 9 Series or later.

Header: Include wmpplug.h.

See Also

Previous Next