Share via


WMPOpenState enumeration (wmp.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 WMPOpenState enumeration type defines the possible operational states of Windows Media Player as it opens a digital media file.

Syntax

typedef enum WMPOpenState {
  wmposUndefined = 0,
  wmposPlaylistChanging,
  wmposPlaylistLocating,
  wmposPlaylistConnecting,
  wmposPlaylistLoading,
  wmposPlaylistOpening,
  wmposPlaylistOpenNoMedia,
  wmposPlaylistChanged,
  wmposMediaChanging,
  wmposMediaLocating,
  wmposMediaConnecting,
  wmposMediaLoading,
  wmposMediaOpening,
  wmposMediaOpen,
  wmposBeginCodecAcquisition,
  wmposEndCodecAcquisition,
  wmposBeginLicenseAcquisition,
  wmposEndLicenseAcquisition,
  wmposBeginIndividualization,
  wmposEndIndividualization,
  wmposMediaWaiting,
  wmposOpeningUnknownURL
} ;

Constants

 
wmposUndefined
Value: 0
The content source is in an undefined state.
wmposPlaylistChanging
A new playlist is about to be loaded.
wmposPlaylistLocating
Locating the playlist.
wmposPlaylistConnecting
Connecting to the server that is hosting the playlist.
wmposPlaylistLoading
Loading a playlist.
wmposPlaylistOpening
Opening a playlist.
wmposPlaylistOpenNoMedia
Playlist is open.
wmposPlaylistChanged
Playlist has changed.
wmposMediaChanging
New media item is about to be loaded.
wmposMediaLocating
Locating the media item.
wmposMediaConnecting
Connecting to the server that is hosting the media item.
wmposMediaLoading
Loading the media item.
wmposMediaOpening
Opening the media item.
wmposMediaOpen
The media item is open.
wmposBeginCodecAcquisition
Starting codec acquisition.
wmposEndCodecAcquisition
Ending codec acquisition.
wmposBeginLicenseAcquisition
Starting license acquisition.
wmposEndLicenseAcquisition
Ending license acquisition.
wmposBeginIndividualization
Starting individualization.
wmposEndIndividualization
Individualization has ended.
wmposMediaWaiting
Waiting for the media item to open.
wmposOpeningUnknownURL
Opening a URL whose type is unknown.

Requirements

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

See also

Enumeration Types