WMPServices_StreamState enumeration (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 WMPServices_StreamState enumeration indicates whether the stream is currently stopped, paused, or playing.

Syntax

typedef enum WMPServices_StreamState {
  WMPServices_StreamState_Stop = 0,
  WMPServices_StreamState_Pause,
  WMPServices_StreamState_Play
} ;

Constants

 
WMPServices_StreamState_Stop
Value: 0
The stream is stopped.
WMPServices_StreamState_Pause
The stream is paused.
WMPServices_StreamState_Play
The stream is playing.

Requirements

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

See also

DSP Plug-in Enumeration Types

IWMPServices::GetStreamState