Share via


Windows Media Player 11 SDK IWMPEffects::SetCurrentPreset 

Windows Media Player SDK banner art

Previous Next

IWMPEffects::SetCurrentPreset

The SetCurrentPreset method gets the current preset from Windows Media Player and sets it in the visualization.

Syntax

  

Parameters

  currentpreset

[out]  Long value specifying the new preset index.

Return Values

If the method succeeds, it returns S_OK. If it fails, it returns an HRESULT error code.

Remarks

This is called by the Windows Media Player to request that the given preset be displayed.

Requirements

Version: Windows Media Player version 7.0 or later.

Header: Include effects.h.

See Also

Previous Next