Share via


Windows Media Player 11 SDK IWMPPluginEnable::SetEnable 

Windows Media Player SDK banner art

Previous Next

IWMPPluginEnable::SetEnable

The IWMPPluginEnable::SetEnable method retrieves a value indicating whether user has enabled the plug-in.

Syntax

  HRESULT SetEnable(
  BOOL  
  fEnable

  );

Parameters

fEnable

[in]  A variable that receives a value indicating whether the user has enabled the plug-in.

Return Values

The method returns an HRESULT.

Remarks

The value of fEnable depends upon whether the user has enabled the plug-in on the Plug-ins tab of the Options dialog box in Windows Media Player.

DSP plug-ins are removed from the signal path when the user chooses to disable them. When disabled, a plug-in should still include code to copy data from the input buffer to the output buffer, performing only format conversion processing, if applicable. The sample code generated by the Windows Media Player plug-in wizard includes code to copy the buffers.

Requirements

Version: Windows Media Player 9 Series or later.

Header: Include wmpservices.h.

See Also

Previous Next