다음을 통해 공유


IWMPPlugin::UnAdviseWMPServices 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 IWMPPlugin::UnAdviseWMPServices method is used to release the pointer provided by AdviseWMPServices.

Syntax

HRESULT UnAdviseWMPServices();

Return value

The method returns an HRESULT.

Remarks

Windows Media Player calls this method when the pointer provided by AdviseWMPServices is no longer valid. The plug-in should use this method to cease making stream state requests through the pointer.

Requirements

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

See also

IWMPPlugin Interface

IWMPPlugin::AdviseWMPServices