Compartir a través de


Windows Media Player SDK

Overview of the Windows Media Player SDK technology.

To develop Windows Media Player SDK, you need these headers:

For programming guidance for this technology, see:

Enumerations

 
PlayerState

The PlayerState enumeration type provides some basic states of Windows Media Player.
WMPAccountType

Note  This section describes functionality designed for use by online stores. Use of this functionality outside the context of an online store is not supported. The WMPAccountType enumeration defines account types for an online store.
WMPBurnFormat

The WMPBurnFormat enumeration type defines the possible types of CDs for burning.
WMPBurnState

The WMPBurnState enumeration type defines the possible operational states of Windows Media Player as it burns a CD.
WMPCallbackNotification

Note  This section describes functionality designed for use by online stores.
WMPDeviceStatus

The WMPDeviceStatus enumeration type defines the possible values for the current status of a device. To use this enumeration, you must create a remoted instance of the Windows Media Player 10 or later control.
WMPFolderScanState

The WMPFolderScanState enumeration type defines the possible operational states of Windows Media Player as it monitors file folders for digital media content.
WMPLibraryType

The WMPLibraryType enumeration type defines the possible library types to which Windows Media Player can connect.
WMPOpenState

The WMPOpenState enumeration type defines the possible operational states of Windows Media Player as it opens a digital media file.
WMPPartnerNotification

Note  This section describes functionality designed for use by online stores. Use of this functionality outside the context of an online store is not supported. The WMPPartnerNotification enumeration defines operational states of an online store.
WMPPlaylistChangeEventType

The WMPPlaylistChangeEventType enumeration type defines the types of changes that can be made to a playlist.
WMPPlayState

The WMPPlayState enumeration type defines the possible operational states of Windows Media Player as it plays a digital media file.
WMPPlugin_Caps

The WMPPlugin_Caps enumeration type signals whether the plug-in can convert between input and output formats.
WMPRipState

The WMPRipState enumeration type defines the possible operational states of Windows Media Player as it rips a CD.
WMPServices_StreamState

The WMPServices_StreamState enumeration indicates whether the stream is currently stopped, paused, or playing.
WMPStreamingType

Note  This section describes functionality designed for use by online stores. Use of this functionality outside the context of an online store is not supported. The WMPStreamingType enumeration specifies the type of streaming media.
WMPStringCollectionChangeEventType

The WMPStringCollectionChangeEventType enumeration type defines the types of changes that can occur in a string collection.
WMPSubscriptionServiceEvent

Note  This section describes functionality designed for use by online stores.
WMPSyncState

The WMPSyncState enumeration type defines the possible operational states of Windows Media Player as it synchronizes digital media to a device. To use this enumeration you must create a remoted instance of the Windows Media Player 10 or later control.
WMPTaskType

Note  This section describes functionality designed for use by online stores. Use of this functionality outside the context of an online store is not supported. The WMPTaskType enumeration represents Windows Media Player task panes.
WMPTemplateSize

Note  This section describes functionality designed for use by online stores. Use of this functionality outside the context of an online store is not supported. The WMPTemplateSize enumeration represents HTML template sizes.
WMPTransactionType

Note  This section describes functionality designed for use by online stores. Use of this functionality outside the context of an online store is not supported. The WMPTransactionType enumeration represents a transaction type.

Functions

 
activateUIPlugin

The activateUIPlugin method activates the specified UI plug-in in the full mode of Windows Media Player.
add

This method and all other methods of the IWMPFolderMonitorServices interface are deprecated.The add method adds a folder to the list of monitored folders.
add

The add method adds a new media item or playlist to the library.
addCondition

The addCondition method adds a condition to the compound query using AND logic.
AddListContents

Note  This section describes functionality designed for use by online stores. Use of this functionality outside the context of an online store is not supported. The AddListContents method adds a set of media items to a list.
AdviseWMPServices

The IWMPPlugin::AdviseWMPServices method is implemented by the plug-in.
allowCDBurn

Note  This section describes functionality designed for use by online stores.
allowPDATransfer

Note  This section describes functionality designed for use by online stores.
allowPlay

Note  This section describes functionality designed for use by online stores.
allowTranscode

The allowTranscode method retrieves a value specifying whether Windows Media Player is permitted to change the format of the digital media content to the Windows Media format.
appendItem

The appendItem method adds a media item to the end of the playlist.
AudioLanguageChange

The AudioLanguageChange event occurs when the current audio language changes.
Authenticate

Note  This section describes functionality designed for use by online stores. Use of this functionality outside the context of an online store is not supported. The Authenticate method initiates an attempt to authenticate the user.
back

The back method returns the display from a submenu to its parent menu.
beginNextGroup

The beginNextGroup method begins a new condition group.
Buffering

The Buffering event occurs when the Windows Media Player control begins or ends buffering.
Buy

Note  This section describes functionality designed for use by online stores. Use of this functionality outside the context of an online store is not supported. The Buy method initiates the purchase of digital media content.
BuyComplete

Note  This section describes functionality designed for use by online stores.
CanBuySilent

Note  This section describes functionality designed for use by online stores.
cancelEstimation

The cancelEstimation method cancels an estimation that was previously initiated by estimateSyncSize.
CdromBurnError

The CdromBurnError event occurs when a generic error happens during a CD burning operation.
CdromBurnMediaError

The CdromBurnMediaError event occurs when an error happens while burning an individual media item to a CD.
CdromBurnStateChange

The CdromBurnStateChange event occurs when a CD burning operation changes state.
CdromMediaChange

The CdromMediaChange event occurs when a CD or DVD is inserted into or ejected from a CD or DVD drive.
CdromRipMediaError

The CdromRipMediaError event occurs when an error happens while ripping an individual track from a CD.
CdromRipStateChange

The CdromRipStateChange event occurs when a CD ripping operation changes state.
ChangeView

Note  This section describes functionality designed for use by online stores. Use of this functionality outside the context of an online store is not supported. The ChangeView method changes the view in Windows Media Player.
clear

The clear method is reserved for future use.
clearErrorQueue

The clearErrorQueue method clears the errors from the error queue.
Click

The Click event occurs when the user clicks a mouse button.
close

The close method releases Windows Media Player resources.
CompareContainerListPrices

Note  This section describes functionality designed for use by online stores. Use of this functionality outside the context of an online store is not supported. The CompareContainerListPrices method compares the price of two content container lists.
ConvertFile

The ConvertFile method is implemented by a conversion plug-in and called by Windows Media Player to enable a conversion plug-in to convert a digital media file into ASF.
Create

The Create method is called by Windows Media Player to instantiate a visualization window.
Create

The Create method is called by Windows Media Player to instantiate the plug-in user interface. This method is passed a handle to a parent window of the plug-in window. A handle to the newly created window is then passed back to the calling method.
createPartnership

The createPartnership method creates a partnership between Windows Media Player and the device.
CreatePartnershipComplete

The CreatePartnershipComplete event occurs when an asynchronous call to IWMPSyncDevice::createPartnership completes.
createQuery

The createQuery method retrieves a pointer to an IWMPQuery interface that represents a new query.
CurrentItemChange

The CurrentItemChange event occurs when the user or the IWMPControls::put_CurrentItem method changes the current item value.
CurrentMediaItemAvailable

The CurrentMediaItemAvailable event occurs when the current media item becomes available.
CurrentPlaylistChange

The CurrentPlaylistChange event occurs when something changes within the current playlist.
CurrentPlaylistItemAvailable

The CurrentPlaylistItemAvailable event occurs when the current playlist item becomes available.
deletePartnership

The deletePartnership method terminates the partnership between Windows Media Player and the device.
Destroy

The Destroy method is called by Windows Media Player to destroy a visualization window instantiated in the Create method.
Destroy

The Destroy method is called by Windows Media Player to shut down the plug-in user interface.
deviceAvailable

Note  This section describes functionality designed for use by online stores.
DeviceConnect

The DeviceConnect event occurs when the user connects a device to the computer.
DeviceDisconnect

The DeviceDisconnect event occurs when the user disconnects a device from the computer.
DeviceStatusChange

The DeviceStatusChange event occurs when the partnership status of a device changes.
DeviceSyncError

The DeviceSyncError event occurs in response to a synchronization error.
DeviceSyncStateChange

The DeviceSyncStateChange event occurs when the synchronization state of a device changes.
Disconnect

The Disconnect event is reserved for future use.
DisplayPropertyPage

The DisplayPropertyPage method displays the property page of a visualization, if it exists.
DisplayPropertyPage

The DisplayPropertyPage method is called by Windows Media Player to request that the plug-in display its property page. This method is passed a handle to a parent window of the plug-in property page dialog box.
DomainChange

The DomainChange event occurs when the DVD domain changes.
DoubleClick

The DoubleClick event occurs when the user double-clicks a mouse button.
Download

Note  This section describes functionality designed for use by online stores. Use of this functionality outside the context of an online store is not supported. The Download method initiates the download of a set of media items.
DownloadTrack

Note  This section describes functionality designed for use by online stores.
DownloadTrackComplete

Note  This section describes functionality designed for use by online stores.
DurationUnitChange

The DurationUnitChange event is reserved for future use.
eject

The eject method ejects the CD or DVD from the drive.
EndOfStream

The EndOfStream event is reserved for future use.
erase

The erase method erases the current CD.
Error

The Error event occurs when the Windows Media Player control has an error condition..
estimateSyncSize

The estimateSyncSize method initiates the estimation of the size required on the device to synchronize a specified playlist.
fastForward

The fastForward method starts fast play of the media item in the forward direction.
fastReverse

The fastReverse method starts fast play of the media item in the reverse direction.
FolderScanStateChange

The FolderScanStateChange event occurs when a folder monitoring operation changes state.
get_addedFilesCount

This method and all other methods of the IWMPFolderMonitorServices interface are deprecated.The get_addedFilesCount method retrieves the count of files added to the library during the current scanning operation.
get_attributeCount

The get_attributeCount method retrieves the number of attributes that can be queried and/or set for the media item.
get_attributeCount

The get_attributeCount method retrieves the number of attributes associated with the playlist.
get_attributeName

The get_attributeName method retrieves the name of an attribute specified by an index.
get_audioLanguageCount

The get_audioLanguageCount method retrieves the count of supported audio languages.
get_audioOutputDevice

The get_audioOutputDevice method retrieves the current audio output device used by the Windows Media Player ActiveX control.
get_autoStart

The get_autoStart method retrieves a value indicating whether the current media item begins playing automatically.
get_balance

The get_balance method retrieves the current stereo balance.
get_bandWidth

The get_bandWidth method retrieves the current bandwidth of the media item.
get_baseURL

The get_baseURL method retrieves the base URL used for relative path resolution with URL script commands that are embedded in digital media content.
get_bitRate

The get_bitRate method retrieves the current bit rate being received.
get_bufferingCount

The get_bufferingCount method retrieves the number of times buffering occurred during playback.
get_bufferingProgress

The get_bufferingProgress method retrieves the percentage of buffering completed.
get_bufferingTime

The get_bufferingTime method retrieves the amount of time in milliseconds allocated for buffering incoming data before playing begins.
get_burnFormat

The get_burnFormat method retrieves a value that indicates the type of CD to burn.
get_burnPlaylist

The get_burnPlaylist method retrieves the current playlist to burn to the CD.
get_burnProgress

The get_burnProgress method retrieves the CD burning progress as percent complete.
get_burnState

The get_burnState method retrieves an enumeration value that indicates the current burn state.
get_captioningId

The get_captioningId method retrieves the name of the element displaying the captioning.
get_cdromCollection

The get_cdromCollection method retrieves a pointer to an IWMPCdromCollection interface.
get_closedCaption

The get_closedCaption method retrieves a pointer to an IWMPClosedCaption interface.
get_condition

The get_condition method retrieves a value indicating the condition for the error.
get_connected

The get_connected method retrieves a value indicating whether the device is connected to Windows Media Player.
get_controls

The get_controls method retrieves a pointer to an IWMPControls interface.
get_count

The get_count method retrieves the number of available CD and DVD drives on the system.
get_count

This method and all other methods of the IWMPFolderMonitorServices interface are deprecated.The get_count method retrieves the count of monitored folders.
get_count

The get_count method retrieves the number of items in the playlist.
get_count

The get_count method retrieves the number of playlists in the playlist array.
get_count

The get_count method retrieves the number of items in the string collection.
get_currentAudioLanguage

The get_currentAudioLanguage method retrieves the locale identifier (LCID) of the audio language for playback.
get_currentAudioLanguageIndex

The get_currentAudioLanguageIndex method retrieves the one-based index that corresponds to the audio language for playback.
get_currentFolder

This method and all other methods of the IWMPFolderMonitorServices interface are deprecated.The get_currentFolder method retrieves the path of the folder currently being scanned.
get_currentItem

The get_currentItem method retrieves the current media item in a playlist.
get_currentMarker

The get_currentMarker method retrieves the current marker number.
get_currentMedia

The get_currentMedia method retrieves a pointer to an IWMPMedia interface corresponding to the current media item.
get_currentPlaylist

The get_currentPlaylist method retrieves a pointer to an IWMPPlaylist interface corresponding to the current playlist.
get_currentPosition

The get_currentPosition method retrieves the current position in the media item in seconds from the beginning.
get_currentPositionString

The get_currentPositionString method retrieves the current position in the media item as a BSTR formatted as HH:MM:SS (hours, minutes, and seconds).
get_currentPositionTimecode

The get_currentPositionTimecode method retrieves the current position in the current media item using a time code format. This method currently supports SMPTE time code.
get_customUrl

The get_customUrl method retrieves the URL of a website that displays specific information about codec download failure.
get_defaultAudioLanguage

The get_defaultAudioLanguage method retrieves the LCID of the default audio language specified in Windows Media Player.
get_defaultFrame

The get_defaultFrame method retrieves the name of the frame used to display a URL that is received in a ScriptCommand event.
get_description

The get_description method retrieves a pointer to the description of the metadata image.
get_description

The get_description method retrieves a description of the metadata text.
get_deviceCount

The get_deviceCount method retrieves the number of available devices.
get_deviceId

The get_deviceId method retrieves the device identifier string.
get_deviceName

The get_deviceName method retrieves the name of the device.
get_domain

The get_domain method retrieves the current domain of the DVD.
get_downloadProgress

The get_downloadProgress method retrieves the percentage of the download completed.
get_driveSpecifier

The get_driveSpecifier method retrieves the CD or DVD drive letter.
get_duration

The get_duration method retrieves the duration in seconds of the current media item..
get_durationString

The get_durationString method retrieves a string indicating the duration of the current media item in HH:MM:SS format.
get_dvd

The get_dvd method retrieves a pointer to an IWMPDVD interface.
get_enableContextMenu

The get_enableContextMenu method retrieves a value indicating whether to enable the context menu, which appears when the right mouse button is clicked.
get_enabled

The get_enabled method retrieves a value indicating whether the Windows Media Player control is enabled.
get_enableErrorDialogs

The get_enableErrorDialogs method retrieves a value indicating whether error dialog boxes are displayed automatically.
get_encodedFrameRate

The get_encodedFrameRate method retrieves the video frame rate specified by the content author.
get_error

The get_error method retrieves a pointer to an IWMPError interface.
get_error

The get_error method retrieves a pointer to an IWMPErrorItem interface if the media item has an error condition.
get_errorCode

The get_errorCode method retrieves the current error code.
get_errorContext

The get_errorContext method retrieves a value indicating the context of the error.
get_errorCount

The get_errorCount method retrieves the number of errors in the error queue.
get_errorDescription

The get_errorDescription method retrieves a description of the error.
get_frameRate

The get_frameRate method retrieves the current video frame rate.
get_framesSkipped

The get_framesSkipped method retrieves the total number of frames skipped during playback.
get_friendlyName

The get_friendlyName method retrieves the user-defined name of the device.
get_fullScreen

The get_fullScreen method retrieves a value indicating whether video content is played back in full-screen mode.
get_hasDisplay

The get_hasDisplay method retrieves a value indicating whether video can display through the remoted Windows Media Player control.
get_imageSourceHeight

The get_imageSourceHeight method retrieves the height of the current media item in pixels.
get_imageSourceWidth

The get_imageSourceWidth method retrieves the width of the current media item in pixels.
get_inProcOnly

The get_inProcOnly method retrieves a value indicating whether playback is restricted to the current process.
get_invokeURLs

The get_invokeURLs method retrieves a value indicating whether URL events should launch a Web browser.
get_isAvailable

The get_isAvailable method indicates whether a specified type of information is available or a specified action can be performed.
get_isAvailable

The get_isAvailable method indicates whether a specified type of information is available or a specified action can be performed.
get_isAvailable

The get_isAvailable method indicates whether a specified action can be performed.
get_isIdentical

The get_isIdentical method retrieves a value indicating whether the specified object is the same as the current one.
get_isIdentical

The get_isIdentical method retrieves a value indicating whether the specified playlist is identical to the current playlist.
get_isOnline

The get_isOnline method retrieves a value indicating whether the user is connected to a network.
get_isRemote

The get_isRemote method retrieves a value indicating whether the Windows Media Player control is running in remote mode.
get_item

The get_item method retrieves a pointer to an IWMPErrorItem interface from the error queue.
get_item

The get_item method retrieves the media item at the specified index.
get_label

The get_label method retrieves the CD volume label string.
get_lostPackets

The get_lostPackets method retrieves the number of packets lost.
get_markerCount

The get_markerCount method retrieves the number of markers in the media item.
get_maxBandwidth

The get_maxBandwidth method retrieves the maximum allowed bandwidth.
get_maxBitRate

The get_maxBitRate method retrieves the maximum possible video bit rate.
get_mediaAccessRights

The get_mediaAccessRights method retrieves a value indicating the permissions currently granted for library access.
get_mediaCollection

The get_mediaCollection method retrieves a pointer to an IWMPMediaCollection interface.
get_mediaCollection

The get_mediaCollection method retrieves a pointer to the IWMPMediaCollection interface for the current library.
get_mimeType

The get_mimeType method retrieves a pointer to a string specifying the MIME type of the metadata image.
get_mute

The get_mute method retrieves a value indicating whether audio is muted.
get_name

The get_name method retrieves the display name of the current library.
get_name

The get_name method retrieves the name of the media item.
get_name

The get_name method retrieves the name of the playlist.
get_network

The get_network method retrieves a pointer to an IWMPNetwork interface.
get_openState

The get_openState method retrieves an enumeration value indicating the state of the content source.
get_partnershipIndex

The get_partnershipIndex method retrieves the index of the device partnership.
get_pictureType

The get_pictureType method retrieves a pointer to a string specifying the picture type of the metadata image.
get_playCount

The get_playCount method retrieves the number of times a media item will play.
get_playerApplication

The get_playerApplication method retrieves a pointer to an IWMPPlayerApplication interface when a remoted Windows Media Player control is running.
get_playerDocked

The get_playerDocked method retrieves a value indicating whether Windows Media Player is in a docked state.
get_playlist

The get_playlist method retrieves a pointer to an IWMPPlaylist interface representing the tracks on the CD currently in the CD drive or the root-level title entries for a DVD.
get_playlistCollection

The get_playlistCollection method retrieves a pointer to an IWMPPlaylistCollection interface.
get_playState

The get_playState method retrieves an enumeration value indicating the operating state of Windows Media Player.
get_progress

The get_progress method retrieves a value that indicates the synchronization progress as percent complete.
get_rate

The get_rate method retrieves the current playback rate for video.
get_receivedPackets

The get_receivedPackets method retrieves the number of packets received.
get_receptionQuality

The get_receptionQuality method retrieves the percentage of packets received in the last 30 seconds.
get_recoveredPackets

The get_recoveredPackets method retrieves the number of recovered packets.
get_remedy

Reserved for future use.
get_ripProgress

The get_ripProgress method retrieves the CD ripping progress as percent complete.
get_ripState

The get_ripState method retrieves an enumeration value that indicates the current state of the ripping process.
get_SAMIFileName

The get_SAMIFileName method retrieves the name of the file containing the information needed for closed captioning.
get_SAMILang

The get_SAMILang method retrieves the language displayed for closed captioning.
get_SAMILangCount

The get_SAMILangCount method retrieves the number of languages supported by the current SAMI file.
get_SAMIStyle

The get_SAMIStyle method retrieves the closed captioning style.
get_SAMIStyleCount

The get_SAMIStyleCount method retrieves the number of styles supported by the current SAMI file.
get_scannedFilesCount

This method and all other methods of the IWMPFolderMonitorServices interface are deprecated.The get_scannedFilesCount method retrieves the count of files inspected during the current scanning operation.
get_scanState

This method and all other methods of the IWMPFolderMonitorServices interface are deprecated.The get_scanState method retrieves the scan state for the current scanning operation.
get_settings

The get_settings method retrieves a pointer to an IWMPSettings interface.
get_sourceProtocol

The get_sourceProtocol method retrieves the source protocol used to receive data.
get_sourceURL

The get_sourceURL method retrieves the URL of the media item.
get_status

The get_status method retrieves the status of Windows Media Player.
get_status

The get_status method retrieves a value that indicates the status of the relationship between Windows Media Player and the device.
get_stretchToFit

The get_stretchToFit method retrieves a value indicating whether video displayed by the Windows Media Player control automatically sizes to fit the video window when the video window is larger than the dimensions of the video image.
get_syncState

The get_syncState method retrieves a value that indicates the current synchronization state for the device.
get_text

The get_text method retrieves the metadata text.
get_type

The get_type method retrieves a value that indicates the library type.
get_uiMode

The get_uiMode method retrieves a value indicating which controls are shown in the user interface.
get_updateProgress

This method and all other methods of the IWMPFolderMonitorServices interface are deprecated.The get_updateProgress method retrieves the update progress as percent complete.
get_URL

The get_URL method retrieves the name of the clip to play.
get_URL

This method is for internal use only.
get_versionInfo

The get_versionInfo method retrieves a String value specifying the version of Windows Media Player.
get_volume

The get_volume method retrieves the current playback volume.
get_windowlessVideo

The get_windowlessVideo method retrieves a value indicating whether the Windows Media Player control renders video in windowless mode.
getAll

The getAll method retrieves a pointer to an IWMPPlaylist interface. This interface corresponds to the playlist that contains all media items in the library.
getAll

The getAll method retrieves a pointer to an IWMPPlaylistArray interface representing all of the playlists in the library.
GetApplicationName

The GetApplicationName method is called by Windows Media Player to retrieve the name of the program that is hosting the remoted control.
getAttributeCountByType

The getAttributeCountByType method retrieves the number of attributes associated with the specified attribute type.
getAttributeCountByType

The getAttributeCountByType method retrieves the number of attributes associated with the specified string collection index, attribute name, and language.
getAttributeName

The getAttributeName method retrieves the name of the attribute corresponding to the specified index.
getAttributeStringCollection

The getAttributeStringCollection method retrieves a pointer to an IWMPStringCollection interface. This interface represents the set of all values for a given attribute within a given media type.
getAudioLanguageDescription

The getAudioLanguageDescription method retrieves the description for the audio language corresponding to the specified one-based index.
getAudioLanguageID

The getAudioLanguageID method retrieves the locale identifier (LCID) for a specified audio language index.
getByAlbum

The getByAlbum method retrieves a pointer to an IWMPPlaylist interface. This interface contains the media items from the specified album.
getByAttribute

The getByAttribute method retrieves a pointer to an IWMPPlaylist interface. This interface corresponds to the specified attribute having the specified value.
getByAttributeAndMediaType

The getByAttributeAndMediaType method retrieves a pointer to an IWMPPlaylist interface. This interface represents a playlist that contains media items that have a specified attribute and media type.
getByAuthor

The getByAuthor method retrieves a pointer to an IWMPPlaylist interface. This interface contains the media items for the specified author.
getByDriveSpecifier

The getByDriveSpecifier method retrieves a pointer to an IWMPCdrom interface associated with a particular drive letter.
getByGenre

The getByGenre method retrieves a pointer to an IWMPPlaylist interface. This interface contains the media items with the specified genre.
getByName

The getByName method retrieves a pointer to an IWMPPlaylist interface. This interface contains the media items with the specified name.
getByName

The getByName method retrieves a pointer to an IWMPPlaylistArray interface on an object containing playlists with the specified name, if any exist.
GetCapabilities

The GetCapabilities method gets the capabilities of the visualization.
GetCaps

The IWMPPlugin::GetCaps method returns a flag that specifies whether the plug-in can convert between an input format and an output format.
GetCatalogURL

Note  This section describes functionality designed for use by online stores.
GetCatalogVersion

Note  This section describes functionality designed for use by online stores.
GetCommands

Note  This section describes functionality designed for use by online stores. Use of this functionality outside the context of an online store is not supported. The GetCommands method retrieves context menu commands.
GetContainer

Note  This section describes functionality designed for use by online stores. Use of this functionality outside the context of an online store is not supported. The GetContainer method retrieves the content container at the specified index.
GetContainerCount

Note  This section describes functionality designed for use by online stores. Use of this functionality outside the context of an online store is not supported. The GetContainerCount method retrieves the count of content containers in the container list.
GetContentCount

Note  This section describes functionality designed for use by online stores.
GetContentID

Note  This section describes functionality designed for use by online stores.
GetContentIDsInLibrary

Note  This section describes functionality designed for use by online stores.
GetContentPartnerInfo

Note  This section describes functionality designed for use by online stores. Use of this functionality outside the context of an online store is not supported. The GetContentPartnerInfo method retrieves specific information about the online store.
GetContentPrice

Note  This section describes functionality designed for use by online stores.
getCountByType

The getCountByType method retrieves the count of available libraries of a specified type.
GetCurrentPreset

The GetCurrentPreset method gets the current preset, by number, from the visualization and provides it to Windows Media Player.
GetCustomUIMode

The GetCustomUIMode method is called by Windows Media Player to retrieve the location of a skin file to apply to the Windows Media Player control.
getDevice

The getDevice method retrieves a pointer to a device interface.
GetEnable

The IWMPPluginEnable::GetEnable method returns a value indicating whether Windows Media Player has enabled the plug-in.
GetErrorURL

The GetErrorURL method is implemented by a conversion plug-in and called by Windows Media Player to retrieve the URL of a webpage that displays information to help the user correct the condition that caused an error.
GetGraphCreationFlags

One of the flags documented on this page is available in Windows Media Player 10 and Windows Media Player 11 running on Microsoft Windows XP. It might not be available in subsequent versions.
GetID

The IWMPPlugin::GetID method returns the class id of the plug-in.
GetID

Note  This section describes functionality designed for use by online stores. Use of this functionality outside the context of an online store is not supported. The GetID method retrieves the ID of the album or list represented by the content container.
getItemInfo

The getItemInfo method retrieves the value of the specified attribute for the CD.
getItemInfo

The getItemInfo method retrieves the value of the LibraryID attribute.
getItemInfo

The getItemInfo method retrieves the value of the specified attribute for the media item.
getItemInfo

The getItemInfo method retrieves the value of a playlist attribute specified by name.
getItemInfo

The getItemInfo method retrieves the string corresponding to the specified string collection item index and name.
getItemInfo

The getItemInfo method retrieves a metadata value from the device.
GetItemInfo

Note  This section describes functionality designed for use by online stores.
getItemInfoByAtom

The getItemInfoByAtom method retrieves the value of the attribute with the specified index number.
getItemInfoByType

The getItemInfoByType method retrieves the value of the attribute corresponding to the specified attribute type and index.
getItemInfoByType

The getItemInfoByType method retrieves the value corresponding to the specified string collection item index, name, language, and attribute index.
getLanguageName

The getLanguageName method retrieves the name of the audio language with the specified locale identifier (LCID).
getLibraryByType

The getLibraryByType method retrieves a pointer to an IWMPLibrary interface that represents the library that has the specified type and index.
GetListContents

Note  This section describes functionality designed for use by online stores. Use of this functionality outside the context of an online store is not supported. The GetListContents method initiates the retrieval of a dynamic list.
getMarkerName

The getMarkerName method retrieves the name of the marker at the specified index.
getMarkerTime

The getMarkerTime method retrieves the time of the marker at the specified index.
getMediaAtom

The getMediaAtom method retrieves the index at which a given attribute resides within the set of available attributes.
getMode

The getMode method determines whether the loop mode or shuffle mode is active.
getPlaylistByQuery

The getPlaylistByQuery method retrieves a pointer to an IWMPPlaylist interface. This interface represents a playlist that contains media items that match the query conditions.
GetPresetCount

The GetPresetCount method gets the preset count.
GetPresetTitle

The GetPresetTitle method gets the title of the current preset.
GetPrice

Note  This section describes functionality designed for use by online stores.
GetProperty

The GetProperty method is called by Windows Media Player to retrieve name/value property pairs from the plug-in.
getProxyBypassForLocal

The getProxyBypassForLocal method retrieves a value indicating whether the proxy server is bypassed if the origin server is on a local network.
getProxyExceptionList

The getProxyExceptionList method retrieves the proxy exception list.
getProxyName

The getProxyName method retrieves the name of the proxy server being used.
getProxyPort

The getProxyPort method retrieves the proxy port being used.
getProxySettings

The getProxySettings method retrieves the proxy setting for a given protocol.
getSAMILangID

The getSAMILangID method retrieves the locale identifier (LCID) of a language supported by the current SAMI file.
getSAMILangName

The getSAMILangName method retrieves the name of a language supported by the current SAMI file.
getSAMIStyleName

The getSAMIStyleName method retrieves the name of a style supported by the current SAMI file.
GetScriptableObject

The GetScriptableObject method is called by Windows Media Player to retrieve a name and interface pointer for an object that can be called from the script code within a skin.
GetServiceType

The GetServiceType method is called by Windows Media Player to determine whether a host program wants to run its embedded control remotely.
GetStreamingURL

Note  This section describes functionality designed for use by online stores. Use of this functionality outside the context of an online store is not supported. The GetStreamingURL method retrieves the streaming URL of a track.
GetStreamState

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

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

The getStringCollectionByQuery method retrieves a pointer to an IWMPStringCollection interface. This interface represents a set of all string values for a specified attribute that match the query conditions.
GetTemplate

Note  This section describes functionality designed for use by online stores.
GetTitle

The GetTitle method gets the display title of the visualization.
GetTransactionType

Note  This section describes functionality designed for use by online stores. Use of this functionality outside the context of an online store is not supported. The GetTransactionType method retrieves the type of the current transaction.
GetType

Note  This section describes functionality designed for use by online stores. Use of this functionality outside the context of an online store is not supported. The GetType method retrieves the type of the content container.
GoFullscreen

The GoFullscreen method instructs the visualization to switch to full-screen mode.
GraphCreationPostRender

The GraphCreationPostRender method is called by Windows Media Player after a file has been rendered.
GraphCreationPreRender

The GraphCreationPreRender method is called by Windows Media Player before a file is rendered.
importPlaylist

The importPlaylist method adds a static playlist to the library.
Init

The IWMPPlugin::Init method is called when Windows Media Player initializes the plug-in.
insertItem

The insertItem method adds a media item at the specified location in the playlist.
InvokeCommand

Note  This section describes functionality designed for use by online stores. Use of this functionality outside the context of an online store is not supported. The InvokeCommand method invokes a context menu command.
isAvailable

The isAvailable method provides information about the CD drive and media.
isDeleted

The isDeleted method retrieves a value indicating whether the specified playlist is in the deleted items folder.
isIdentical

The isIdentical method retrieves a value that indicates whether the supplied object is the same as the current one.
isIdentical

The isIdentical method retrieves a value indicating whether the supplied object is the same as the current one.
isIdentical

The isIdentical method compares the current device to the specified device and retrieves a value indicating whether they are the same device.
isLibraryShared

The isLibraryShared method retrieves a value indicating whether the user's library is shared.
isLibrarySharingEnabled

The isLibrarySharingEnabled method retrieves a value indicating whether the user has enabled library sharing in Windows Media Player.
isMemberOf

The isMemberOf method retrieves a value indicating whether the specified media item is a member of the specified playlist.
isReadOnlyItem

The isReadOnlyItem method retrieves a value indicating whether the attributes of the specified media item can be edited.
item

The item method retrieves a pointer to an IWMPCdrom interface at the given index.
item

This method and all other methods of the IWMPFolderMonitorServices interface are deprecated.The item method retrieves the path to the folder corresponding to the specified index.
item

The item method retrieves a pointer to an IWMPPlaylist interface representing the playlist at the specified index.
item

The item method retrieves the string at the given index.
KeyDown

The KeyDown event occurs when a key is pressed.
KeyPress

The KeyPress event occurs when a key is pressed and then released.
KeyUp

The KeyUp event occurs when a key is released.
launchURL

The launchURL method sends a URL to the user's default browser.
LibraryConnect

The LibraryConnect event occurs when a library becomes available.
LibraryDisconnect

The LibraryDisconnect event occurs when a library is no longer available.
ListContentsComplete

Note  This section describes functionality designed for use by online stores.
Login

Note  This section describes functionality designed for use by online stores. Use of this functionality outside the context of an online store is not supported. The Login method logs the user in to the online store.
Logout

Note  This section describes functionality designed for use by online stores. Use of this functionality outside the context of an online store is not supported. The Logout method ends the user's online store session.
MarkerHit

The MarkerHit event occurs when a marker is reached.
MediaChange

The MediaChange event occurs when a media item changes.
MediaCollectionAttributeStringAdded

The MediaCollectionAttributeStringAdded event occurs when an attribute is added to the library.
MediaCollectionAttributeStringChanged

The MediaCollectionAttributeStringChanged event occurs when an attribute value in the library is changed.
MediaCollectionAttributeStringRemoved

The MediaCollectionAttributeStringRemoved event occurs when an attribute is removed from the library.
MediaCollectionChange

The MediaCollectionChange event occurs when the media collection changes.
MediaCollectionMediaAdded

The MediaCollectionMediaAdded event occurs when a media item is added to the local library.
MediaCollectionMediaRemoved

The MediaCollectionMediaRemoved event occurs when a media item is removed from the local library.
MediaError

The MediaError event occurs when the Media object has an error condition.
MediaInfo

The MediaInfo method sends channel and sample rate data to the visualization.
ModeChange

The ModeChange event occurs when a mode of the player is changed.
MouseDown

The MouseDown event occurs when a mouse button is pressed.
MouseMove

The MouseMove event occurs when the mouse pointer is moved.
MouseUp

The MouseUp event occurs when a mouse button is released.
moveItem

The moveItem method changes the location of a media item in the playlist.
newMedia

The newMedia method retrieves a pointer to an IWMPMedia interface for a new media item.
newPlaylist

The newPlaylist method retrieves a pointer to an IWMPPlaylist interface for a new playlist.
newPlaylist

The newPlaylist method creates a new, empty playlist in the library.
NewStream

The NewStream event is reserved for future use.
next

The next method sets the next item in the playlist as the current item.
Notify

Note  This section describes functionality designed for use by online stores.
Notify

Note  This section describes functionality designed for use by online stores.
NotifyNewMedia

The NotifyNewMedia method is called by Windows Media Player to inform the visualization that a new media item has been loaded.
NotifyUserEvent

The NotifyUserEvent method notifies an application of an event generated by a custom video presenter that the application provided to the Enhanced Video Renderer (EVR).
onComplete

Note  This section describes functionality designed for use by online stores. Use of this functionality outside the context of an online store is not supported. The onComplete method notifies Windows Media Player when a background process is completed.
OnWindowMessage

The OnWindowMessage method is called by Windows Media Player to pass window messages to a visualization.
openPlayer

The openPlayer method opens Windows Media Player using the specified URL.
OpenPlaylistSwitch

The OpenPlaylistSwitch event occurs when a title on a DVD begins playing.
OpenStateChange

The OpenStateChange event occurs when the Windows Media Player control changes state.
pause

The pause method pauses playback of the media item.
play

The play method causes the current media item to start playing, or resumes play of a paused item.
PlayerDockedStateChange

The PlayerDockedStateChange event occurs when a remoted Windows Media Player control docks or undocks.
PlayerReconnect

The PlayerReconnect event occurs when a remoted Windows Media Player control reconnects to the Player.
playItem

The playItem method plays the specified media item.
PlaylistChange

The PlaylistChange event occurs when a playlist changes.
PlaylistCollectionChange

The PlaylistCollectionChange event occurs when something changes in the playlist collection.
PlaylistCollectionPlaylistAdded

The PlaylistCollectionPlaylistAdded event occurs when a playlist is added to the playlist collection.
PlaylistCollectionPlaylistRemoved

The PlaylistCollectionPlaylistRemoved event occurs when a playlist is removed from the playlist collection.
PlaylistCollectionPlaylistSetAsDeleted

The PlaylistCollectionPlaylistSetAsDeleted event is reserved for future use.
PlayStateChange

The PlayStateChange event occurs when the play state of the Windows Media Player control changes.
PositionChange

The PositionChange event occurs when the current playback position within the media item has been changed.
prepareForSync

Note  This section describes functionality designed for use by online stores.
previous

The previous method sets the previous item in the playlist as the current item.
put_audioOutputDevice

The put_audioOutputDevice sets the current audio output device for the Windows Media Player ActiveX control.
put_autoStart

The put_autoStart method specifies a value indicating whether the current media item begins playing automatically.
put_balance

The put_balance method specifies the current stereo balance.
put_baseURL

The put_baseURL method specifies the base URL used for relative path resolution with URL script commands that are embedded in digital media files.
put_bufferingTime

The put_bufferingTime method specifies the amount of time in milliseconds allocated for buffering incoming data before playing begins.
put_burnFormat

The put_burnFormat method specifies the type of CD to burn.
put_burnPlaylist

The put_burnPlaylist method specifies the playlist to burn to CD.
put_captioningId

The put_captioningId method specifies the name of the element displaying the captioning.
put_currentAudioLanguage

The put_currentAudioLanguage method specifies the locale identifier (LCID) of the audio language for playback.
put_currentAudioLanguageIndex

The put_currentAudioLanguageIndex method specifies the one-based index that corresponds to the audio language for playback.
put_currentItem

The put_currentItem method specifies the current media item.
put_currentMarker

The put_currentMarker method specifies the current marker number.
put_currentMedia

The put_currentMedia method specifies the IWMPMedia interface that corresponds to the current media item.
put_currentPlaylist

The put_currentPlaylist method specifies the IWMPPlaylist interface that corresponds to the current playlist.
put_currentPosition

The put_currentPosition method specifies the current position in the media item in seconds from the beginning.
put_currentPositionTimecode

The put_currentPositionTimecode method specifies the current position in the current media item using a time code format. This method currently supports SMPTE time code.
put_defaultFrame

The put_defaultFrame method specifies the name of the frame used to display a URL that is received in a ScriptCommand event.
put_enableContextMenu

The put_enableContextMenu method specifies a value indicating whether to enable the context menu, which appears when the right mouse button is clicked.
put_enabled

The put_enabled method specifies a value indicating whether the Windows Media Player control is enabled.
put_enableErrorDialogs

The put_enableErrorDialogs method specifies a value indicating whether error dialog boxes are displayed automatically.
put_friendlyName

The put_friendlyName method specifies the user-defined name of the device.
put_fullScreen

The put_fullScreen method specifies a value indicating whether video content is played back in full-screen mode.
put_inProcOnly

The put_inProcOnly method specifies a value indicating whether playback is restricted to the current process.
put_invokeURLs

The put_invokeURLs method specifies a value indicating whether URL events should launch a Web browser.
put_label

The put_label method specifies the label string for the CD volume.
put_maxBandwidth

The put_maxBandwidth method specifies the maximum allowed bandwidth.
put_mute

The put_mute method specifies a value indicating whether audio is muted.
put_name

The put_name method specifies sets the name of the media item.
put_name

The put_name method specifies the name of the playlist.
put_playCount

The put_playCount method specifies the number of times a media item will play.
put_presenterActivate

The put_presenterActivate method provides Windows Media Player with an activation object for a custom video presenter.
put_rate

The put_rate method specifies the current playback rate for video.
put_SAMIFileName

The put_SAMIFileName method specifies the name of the file containing the information needed for closed captioning.
put_SAMILang

The put_SAMILang method specifies the language displayed for closed captioning.
put_SAMIStyle

The put_SAMIStyle method specifies the closed captioning style.
put_stretchToFit

The put_stretchToFit method specifies a value indicating whether video displayed by the Windows Media Player control automatically sizes to fit the video window when the video window is larger than the dimensions of the video image.
put_uiMode

The put_uiMode method specifies a value indicating which controls are shown in the user interface.
put_URL

The put_URL method specifies the URL of the media item to play.
put_volume

The put_volume method specifies the current playback volume.
put_windowlessVideo

The put_windowlessVideo method specifies a value indicating whether the Windows Media Player control renders video in windowless mode.
RefreshLicense

Note  This section describes functionality designed for use by online stores. Use of this functionality outside the context of an online store is not supported. The RefreshLicense method initiates the update of a license for the specified media file.
RefreshLicenseComplete

Note  This section describes functionality designed for use by online stores.
refreshStatus

The refreshStatus method updates the status information for the current burn playlist.
remove

This method and all other methods of the IWMPFolderMonitorServices interface are deprecated.The remove method removes a folder from the list of monitored folders.
remove

The remove method removes a specified item from the media collection.
remove

The remove method removes a playlist from the library.
removeItem

The removeItem method removes the specified media item from the playlist.
Render

The Render method renders the visualization.
RenderFullScreen

The RenderFullScreen method renders the visualization in full-screen mode.
RenderWindowed

The RenderWindowed method is called by Windows Media Player to render a windowed visualization.
requestMediaAccessRights

The requestMediaAccessRights method requests a specified level of access to the library.
resume

The resume method returns to playback mode from menu mode at the same title position as when the menu was invoked.
ScriptCommand

The ScriptCommand event occurs when a synchronized command or URL is received.
SendMessage

Note  This section describes functionality designed for use by online stores. Use of this functionality outside the context of an online store is not supported. The SendMessage method enables discovery pages to send messages to the plug-in.
SendMessageComplete

Note  This section describes functionality designed for use by online stores.
serviceEvent

Note  This section describes functionality designed for use by online stores. Use of this functionality outside the context of an online store is not supported. The serviceEvent method is called when the online store is activated or deactivated.
setBackgroundProcessingPriority

The setBackgroundProcessingPriority method specifies a priority level for general background processing tasks.
SetCallback

Note  This section describes functionality designed for use by online stores.
SetCore

The SetCore method is called by Windows Media Player to provide visualization access to the core Windows Media Player APIs.
SetCore

The SetCore method is called by Windows Media Player to provide plug-in access to the core Windows Media Player APIs.
SetCurrentPreset

The SetCurrentPreset method gets the current preset from Windows Media Player and sets it in the visualization.
setDeleted

The setDeleted method moves the specified media item to the deleted items folder.
SetEnable

The IWMPPluginEnable::SetEnable method retrieves a value indicating whether user has enabled the plug-in.
setItemInfo

The setItemInfo method sets the value of the specified attribute for the media item.
setItemInfo

The setItemInfo method specifies the value of an attribute of the current playlist. .
setItemInfo

The setItemInfo method specifies an attribute value for a device.
setMode

The setMode method sets the state of playback options.
SetProperty

The SetProperty method is called by Windows Media Player to set name/value property pairs for the plug-in.
setProxyBypassForLocal

The setProxyBypassForLocal method specifies a value indicating whether the proxy server is bypassed if the origin server is on a local network.
setProxyExceptionList

The setProxyExceptionList method specifies the proxy exception list.
setProxyName

The setProxyName method specifies the name of the proxy server to use.
setProxyPort

The setProxyPort method specifies the proxy port to use.
setProxySettings

The setProxySettings method specifies the proxy setting for a given protocol.
setTaskPane

The setTaskPane method displays the specified task pane in the full mode of Windows Media Player.
setTaskPaneURL

This page documents a feature of the Windows Media Player 9 Series SDK and the Windows Media Player 10 SDK. It may be unavailable in subsequent versions.
SetVisualStyle

The SetVisualStyle method specifies the path to a theme file in Windows XP to which Windows Media Player synchronizes the skin.
showLibrarySharing

The showLibrarySharing method displays the Windows Media Player Library Sharing dialog box.
ShowPopup

Note  This section describes functionality designed for use by online stores.
showSettings

The showSettings method displays the Windows Media Player synchronization settings dialog box.
Shutdown

The IWMPPlugin::Shutdown method is called when Windows Media Player shuts down the plug-in.
start

The start method begins synchronization.
startBackgroundProcessing

Note  This section describes functionality designed for use by online stores.
startBurn

The startBurn method burns the CD.
startRip

The startRip method rips the CD.
startScan

This method and all other methods of the IWMPFolderMonitorServices interface are deprecated.The startScan method starts a scanning operation.
StationEvent

Note  This section describes functionality designed for use by online stores.
StatusChange

The StatusChange event occurs when the status property changes value.
step

The step method causes the current video media item to freeze playback on the next frame or the previous frame.
stop

The stop method stops playback of the media item.
stop

The stop method ends synchronization.
stopBackgroundProcessing

Note  This section describes functionality designed for use by online stores.
stopBurn

The stopBurn method stops the CD burning process.
stopRip

The stopRip method stops the CD ripping process.
stopScan

This method and all other methods of the IWMPFolderMonitorServices interface are deprecated.The stopScan method stops the scanning operation.
StringCollectionChange

The StringCollectionChange event occurs when a string collection changes.
SwitchedToControl

The SwitchedToControl event occurs when a remoted Windows Media Player control switches to the docked state.
SwitchedToPlayerApplication

The SwitchedToPlayerApplication event occurs when a remoted Windows Media Player control switches to the full mode of the Player.
switchToControl

The switchToControl method switches a remoted Windows Media Player control to the docked state.
switchToPlayerApplication

The switchToPlayerApplication method switches a remoted Windows Media Player control to the full mode of the Player.
titleMenu

The titleMenu method stops playback and displays the title menu.
topMenu

The topMenu method stops playback and displays the top (or root) menu for the current title.
TranslateAccelerator

The TranslateAccelerator method is called as part of the Windows Media Player message loop to allow the plug-in to intercept and respond to keyboard events.
UnAdviseWMPServices

The IWMPPlugin::UnAdviseWMPServices method is used to release the pointer provided by AdviseWMPServices.
UpdateDevice

Note  This section describes functionality designed for use by online stores.
UpdateDeviceComplete

Note  This section describes functionality designed for use by online stores.
VerifyPermission

Note  This section describes functionality designed for use by online stores.
VerifyPermissionComplete

Note  This section describes functionality designed for use by online stores.
Warning

The Warning event is reserved for future use.
webHelp

The webHelp method launches the Windows Media Player Web Help page to display further information about the first error in the error queue (index zero).
WMPNotifyPluginAddRemove

The WMPNotifyPluginAddRemove function notifies Windows Media Player that a plug-in has been installed or uninstalled.
WMPNotifySubscriptionPluginAddRemove

The WMPNotifySubscriptionPluginAddRemove function notifies Windows Media Player that a COM object has been installed or uninstalled.
WMPNotifySubscriptionPluginAddRemove

The WMPNotifySubscriptionPluginAddRemove function notifies Windows Media Player that a COM object has been installed or uninstalled.
WMPRegisterPlayerPlugin

The IWMPMediaPluginRegistrar::WMPRegisterPlayerPlugin function adds information to the registry that identifies a Windows Media Player plug-in.
WMPUnRegisterPlayerPlugin

The IWMPMediaPluginRegistrar::WMPUnRegisterPlayerPlugin function removes information from the registry about a Windows Media Player plug-in.

Interfaces

 
IWMPAudioRenderConfig

The IWMPAudioRenderConfig interface provides methods for setting and retrieving the audio output device used by the Windows Media Player ActiveX control.
IWMPCdrom

The IWMPCdrom interface provides a way to access a CD or DVD in its drive.
IWMPCdromBurn

The IWMPCdromBurn interface provides methods to manage creating audio CDs.
IWMPCdromCollection

The IWMPCdromCollection interface provides a way to organize and access a collection of CD or DVD drives.
IWMPCdromRip

The IWMPCdromRip interface provides methods to manage copying, or ripping, tracks from an audio CD.Ripping a CD by using the IWMPCdromRip interface has the same effect as ripping music by using the Windows Media Player user interface.
IWMPClosedCaption

The IWMPClosedCaption interface provides a way to include captions with a digital media file. The captioning text is in a Synchronized Accessible Media Interchange (SAMI) file.
IWMPClosedCaption2

The IWMPClosedCaption2 interface provides closed captioning methods that supplement the IWMPClosedCaption interface.
IWMPContentContainer

Note  This section describes functionality designed for use by online stores.
IWMPContentContainerList

Note  This section describes functionality designed for use by online stores.
IWMPContentPartner

Note  This section describes functionality designed for use by online stores.
IWMPContentPartnerCallback

Note  This section describes functionality designed for use by online stores.
IWMPControls

The IWMPControls interface provides a way to manipulate the playback of a media item.
IWMPControls2

The IWMPControls2 interface provides a method that supplements the IWMPControls interface.
IWMPControls3

The IWMPControls3 interface provides methods that supplement the IWMPControls2 interface.
IWMPConvert

The IWMPConvert interface provides methods to enable Windows Media Player conversion plug-ins to convert digital media files that are created using technologies not provided by Microsoft, into Advanced Systems Format (ASF).
IWMPCore

The IWMPCore interface is the root interface for the Windows Media Player control. It can be used to retrieve pointers to other interfaces supported by the control and to access some basic features.
IWMPCore2

The IWMPCore2 interface provides a method that supplements the IWMPCore interface.
IWMPCore3

The IWMPCore3 interface provides methods that supplement the IWMPCore2 interface.
IWMPDVD

The IWMPDVD interface provides methods for working with DVDs.
IWMPEffects

IWMPEffects interface
IWMPEffects2

IWMPEffects2 interface
IWMPError

The IWMPError interface provides methods for accessing a collection of IWMPErrorItem pointers.
IWMPErrorItem

The IWMPErrorItem interface provides a way to access error information.
IWMPErrorItem2

The IWMPErrorItem2 interface provides a method that supplements the IWMPErrorItem interface.
IWMPEvents

The IWMPEvents interface provides events that originate from the Windows Media Player control. An embedding program can respond to these events. The events exposed by IWMPEvents are also exposed by the _WMPOCXEvents interface.
IWMPEvents2

The IWMPEvents2 interface provides events originating from the Windows Media Player 10 or later control to which an embedding program can respond. The events exposed by IWMPEvents2 are also exposed by the _WMPOCXEvents interface.
IWMPEvents3

The IWMPEvents3 interface provides access to events originating from the Windows Media Player 11 control so that an application that has this control embedded in it can respond to these events.
IWMPEvents4

The IWMPEvents4 interface provides access to an event originating from the Windows Media Player 12 control so that an application that has this control embedded in it can respond to the event.
IWMPFolderMonitorServices

The IWMPFolderMonitorServices interface is deprecated.The IWMPFolderMonitorServices interface provides methods to enumerate, scan, and modify file folders that Windows Media Player monitors for digital media content.To use this interface, you must create a remoted instance of the Windows Media Player 11 control. For more information about remoting, see Remoting the Windows Media Player Control.
IWMPGraphCreation

The IWMPGraphCreation interface provides methods that Windows Media Player calls to enable you to manage the DirectShow filter graph.
IWMPLibrary

The IWMPLibrary interface represents a library.
IWMPLibrary2

The IWMPLibrary2 interface represents a media library.
IWMPLibraryServices

The IWMPLibraryServices interface provides methods to enumerate libraries.
IWMPLibrarySharingServices

The IWMPLibrarySharingServices interface provides methods to manage library sharing.To use this interface, you must create a remoted instance of the Windows Media Player control.
IWMPMedia

Use the IWMPMedia interface to set and retrieve the properties of a media item.
IWMPMedia2

The IWMPMedia2 interface provides a method that supplements the IWMPMedia interface.
IWMPMedia3

The IWMPMedia3 interface provides methods that supplement the IWMPMedia2 interface.
IWMPMediaCollection

The IWMPMediaCollection interface provides methods that can be used to organize a large collection of media items.
IWMPMediaCollection2

The IWMPMediaCollection2 interface provides methods that supplement the IWMPMediaCollection interface.
IWMPMediaPluginRegistrar

The IWMPMediaPluginRegistrar interface manages plug-in registration.
IWMPMetadataPicture

The IWMPMetadataPicture interface provides methods for retrieving information about the WM/Picture metadata attribute.
IWMPMetadataText

The IWMPMetadataText interface provides methods for retrieving information about complex textual metadata attributes.
IWMPNetwork

The IWMPNetwork interface provides methods relating to the network connection used by Windows Media Player.
IWMPPlayer

The IWMPPlayer interface provides methods for modifying the basic behavior of the Windows Media Player control user interface. These methods supplement the IWMPCore interface.
IWMPPlayer2

The IWMPPlayer2 interface provides additional methods for modifying the basic behavior of the Windows Media Player control user interface.
IWMPPlayer3

The IWMPPlayer3 interface provides methods for modifying the basic behavior of the control user interface. These methods supplement the IWMPCore2 interface.
IWMPPlayer4

The IWMPPlayer4 interface provides methods for modifying the basic behavior of the Windows Media Player control user interface.
IWMPPlayerApplication

The IWMPPlayerApplication interface provides methods for switching between a remoted Windows Media Player control and the full mode of the Player. These methods can only be used with C++ programs that embed the control in remote mode.
IWMPPlayerServices

The IWMPPlayerServices interface provides methods used by the host of a remoted Windows Media Player control to manipulate the full mode of the Player. These methods can only be used with C++.
IWMPPlayerServices2

The IWMPPlayerServices2 interface provides a method used by the host of a remoted Windows Media Player control to manipulate the full mode of the Player.
IWMPPlaylist

The IWMPPlaylist interface provides methods for manipulating lists of media items.
IWMPPlaylistArray

The IWMPPlaylistArray interface provides methods for accessing a collection of IWMPPlaylist interface pointers by index number.
IWMPPlaylistCollection

The IWMPPlaylistCollection interface provides methods for manipulating the IWMPPlaylist and IWMPPlaylistArray interfaces.
IWMPPlugin

The IWMPPlugin interface is implemented by the plug-in. It manages the connection to Windows Media Player.Note  The interface identifier GUID for this interface changed between the beta release and the final release. .
IWMPPluginEnable

The IWMPPluginEnable interface is implemented by the plug-in. It sets and retrieves a value that represents whether the plug-in has been enabled by Windows Media Player.
IWMPPluginUI

The IWMPPluginUI interface manages the connection to Windows Media Player.
IWMPQuery

The IWMPQuery interface represents a compound query.
IWMPRemoteMediaServices

The IWMPRemoteMediaServices interface includes methods that provide services to Windows Media Player from a program that hosts the Player control. These methods are designed to be used with C++, and some methods can only be used with remoting.
IWMPRenderConfig

The IWMPRenderConfig interface provides methods to specify or retrieve a value indicating whether Media Foundation–based playback is restricted to the current process.Note  Using this interface with protected content is not supported. .
IWMPServices

The IWMPServices interface is implemented by Windows Media Player. It provides methods to retrieve the current stream state and current stream time.
IWMPSettings

The IWMPSettings interface provides methods that get or set the values of Windows Media Player settings.
IWMPSettings2

The IWMPSettings2 interface provides methods that supplement the IWMPSettings interface.
IWMPSkinManager

The IWMPSkinManager interface provides a method used to synchronize the current skin with the current desktop theme in Microsoft Windows XP.
IWMPStringCollection

The IWMPStringCollection interface provides methods that work with a collection of strings.
IWMPStringCollection2

The IWMPStringCollection2 interface provides methods that supplement the IWMPStringCollection interface.
IWMPSubscriptionService

Note  This section describes functionality designed for use by online stores.
IWMPSubscriptionService2

Note  This section describes functionality designed for use by online stores.
IWMPSubscriptionServiceCallback

Note  This section describes functionality designed for use by online stores.
IWMPSyncDevice

The IWMPSyncDevice interface represents a device to which Windows Media Player 10 or later can copy digital media files.
IWMPSyncDevice2

The IWMPSyncDevice2 interface provides a method that supplements the IWMPSyncDevice interface.To use this interface, you must create a remoted instance of the Windows Media Player 10 or later control.
IWMPSyncDevice3

The IWMPSyncDevice3 interface provides methods for estimating the size required to synchronize a playlist to a device.
IWMPSyncServices

The IWMPSyncServices interface provides methods to enumerate available devices that can synchronize digital media files with Windows Media Player 10 or later.To use this interface, you must create a remoted instance of the Windows Media Player control.
IWMPTranscodePolicy

The IWMPTranscodePolicy interface provides a method implemented by DirectShow source filters to manage changing the format of digital media files.
IWMPUserEventSink

The IWMPUserEventSink interface receives event notifications from a custom video presenter.
IWMPVideoRenderConfig

The IWMPVideoRenderConfig interface provides a method that configures the enhanced video renderer (EVR) used by Windows Media Player.

Structures

 
TimedLevel

The TimedLevel structure holds data returned from the spectrum filter.
WMP_WMDM_METADATA_ROUND_TRIP_DEVICE2PC

The WMP_WMDM_METADATA_ROUND_TRIP_DEVICE2PC structure is used by Windows Media Player to receive accelerated metadata synchronization information from portable devices that do not support MTP.
WMP_WMDM_METADATA_ROUND_TRIP_PC2DEVICE

The WMP_WMDM_METADATA_ROUND_TRIP_PC2DEVICE structure is used by Windows Media Player to request accelerated metadata synchronization information from portable devices that do not support MTP.
WMPContextMenuInfo

The WMPContextMenuInfo structure contains data about a context menu command.