Share via


Windows Media Player 11 SDK IWMPEffects2::SetCore 

Windows Media Player SDK banner art

Previous Next

IWMPEffects2::SetCore

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

Syntax

  

Parameters

  pPlayer

[in]  Pointer to an IWMPCore interface.

Return Values

This method returns an HRESULT.

Remarks

You can use this method to set or release a pointer to the IWMPCore interface. If pPlayer is NULL, the visualization 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 visualization 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 visualization is enabled and Windows Media Player loads it normally.

Requirements

Version: Windows Media Player 9 Series or later.

Header: Include effects.h.

See Also

Previous Next