Share via


IWMPServices interface (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 IWMPServices interface is implemented by Windows Media Player. It provides methods to retrieve the current stream state and current stream time.

Inheritance

The IWMPServices interface inherits from the IUnknown interface. IWMPServices also has these types of members:

Methods

The IWMPServices interface has these methods.

 
IWMPServices::GetStreamState

The IWMPServices::GetStreamState method retrieves information about the current play state of the stream.
IWMPServices::GetStreamTime

The IWMPServices::GetStreamTime method retrieves a structure indicating the current stream time.

Requirements

Requirement Value
Target Platform Windows
Header wmpservices.h

See also

DSP Plug-in Interfaces