IWMPPlugin::AdviseWMPServices 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::AdviseWMPServices method is implemented by the plug-in.
Syntax
HRESULT AdviseWMPServices(
[in] IWMPServices *pWMPServices
);
Parameters
[in] pWMPServices
Pointer to an IWMPServices interface.
Return value
The method returns an HRESULT.
Remarks
Windows Media Player calls the AdviseWMPServices method on the plug-in to pass in a pointer that the plug-in can then use to call the IWMPServices interface, which contains methods that provide information about the current state of the stream.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Media Player 9 Series or later. |
Target Platform | Windows |
Header | wmpservices.h |