Share via


Windows Media Player 11 SDK IWMPEffects2::RenderWindowed 

Windows Media Player SDK banner art

Previous Next

IWMPEffects2::RenderWindowed

The RenderWindowed method is called by Windows Media Player to render a windowed visualization.

Syntax

  

Parameters

  pData

[in]  Pointer to a TimedLevel structure specifying rendering information.

  fRequiredRender

[in]  BOOL indicating whether the visualization must paint itself.

Return Values

This method returns an HRESULT.

Remarks

This method is used to render windowed visualizations. Windowless visualizations should return S_OK and use the IWMPEffects::Render method instead.

The fRequiredRender parameter informs you that your visualization must repaint itself, for example, when another window is dragged over it. When this value is false, you can safely skip over the rendering code if the current media item is stopped or paused. This lets you avoid consuming CPU cycles unnecessarily.

Requirements

Version: Windows Media Player 9 Series or later.

Header: Include effects.h.

See Also

Previous Next