Compartir a través de


IWMPEffects::RenderFullScreen method (effects.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 RenderFullScreen method renders the visualization in full-screen mode.

Syntax

HRESULT RenderFullScreen(
  [in] TimedLevel *pLevels
);

Parameters

[in] pLevels

Pointer to a TimedLevel structure.

Return value

If the method succeeds, your implementation should return S_OK. If it fails, return an HRESULT error code.

Remarks

The GoFullscreen method must be called with a True value before RenderFullScreen can be called.

The user can enter or leave full screen mode by pressing the Alt and Enter keys simultaneously.

A default implementation of this method is not included in the visualization wizard.

If your implementation returns an error from this method, then GoFullscreen(False) will be called to ask your visualization to drop out of full screen mode.

Requirements

Requirement Value
Minimum supported client Windows Media Player version 7.0 or later.
Target Platform Windows
Header effects.h

See also

IWMPEffects Interface

TimedLevel