Windows Media Player SDK banner art
PreviousNext

Effects::SetCurrentPreset

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

Syntax

HRESULT SetCurrentPreset(
  Long  currentpreset
);

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.

See Also

PreviousNext


© 2000-2001 Microsoft Corporation. All rights reserved.