IWMPPluginEnable::GetEnable method (wmpservices.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 IWMPPluginEnable::GetEnable method returns a value indicating whether Windows Media Player has enabled the plug-in.

Syntax

HRESULT GetEnable(
  [out] BOOL *pfEnable
);

Parameters

[out] pfEnable

Pointer to a Boolean value indicating whether the user has enabled the plug-in.

Return value

The method returns an HRESULT.

Remarks

This value is set by Windows Media Player in the IWMPPluginEnable::SetEnable method.

Requirements

Requirement Value
Minimum supported client Windows Media Player 9 Series or later.
Target Platform Windows
Header wmpservices.h

See also

IWMPPluginEnable Interface

IWMPPluginEnable::SetEnable