关于对象模型版本
Windows 媒体播放器 7.0 引入了新的对象模型。 此对象模型已扩展为 Windows 媒体播放器 7.1,Windows 媒体播放器用于 Windows XP、Windows 媒体播放器 9 系列、Windows 媒体播放器 10、Windows 媒体播放器 11 和 Windows 媒体播放器 12. 对象模型引用中的每个主题都包含一个“要求”部分,该部分详细介绍了单个属性、方法或事件的最低要求。 下表列出了自版本 7.0 以来为每个版本添加的新对象、方法、属性和事件。 这些列表还包括新的 C++ 接口、方法和事件。
如果新接口或更新接口也作为对象公开,则仅列出该对象。 若要查找接口,请参阅 C++ 的对象模型引用。 通常,只需将 IWMP 前缀添加到对象名称。 如果新接口扩展了现有接口,则可能需要查找最新的版本号。 例如,Windows 媒体播放器 9 系列引入了设置对象提供的新属性和方法。 在 C++ 中,可通过 IWMPSettings2 接口获取这些接口,该接口扩展 了 IWMPSettings。
为 Windows 媒体播放器 7.1 添加了
为 Windows XP 添加了 Windows 媒体播放器
- Controls.step 方法
- DVD 对象
- Media.error 属性
- Player.DomainChange 事件
- Player.MediaError 事件
- Player.OpenPlaylistSwitch 事件
- Player.windowlessVideo 属性
为 Windows 媒体播放器 9 系列添加了
- ClosedCaption.getSAMILangID 方法
- ClosedCaption.getSAMILangName 方法
- ClosedCaption.getSAMIStyleName 方法
- ClosedCaption.SAMILangCount 属性
- ClosedCaption.SAMIStyleCount 属性
- Controls.audioLanguageCount 属性
- Controls.currentAudioLanguage 属性
- Controls.currentAudioLanguageIndex 属性
- Controls.currentPositionTimecode 属性
- Controls.getAudioLanguageDescription 方法
- Controls.getAudioLanguageID 方法
- Controls.getLanguageName 方法
- ErrorItem.condition 属性
- External.appColorLight 属性
- External.OnColorChange 事件
- External.version 属性
- IWMPEvents::P layerDockedStateChange 事件
- IWMPEvents::P layerReconnect 事件
- IWMPEvents::SwitchedToControl 事件
- IWMPEvents::SwitchedToPlayerApplication 事件
- IWMPPlayerServices 接口
- IWMPRemoteMediaServices 接口
- IWMPSkinManager 接口
- Media.getAttributeCountByType 方法
- Media.getItemInfoByType 方法
- MetadataPicture 对象
- MetadataText 对象
- Player.AudioLanguageChange 事件
- Player.isRemote 属性
- Player.MediaCollectionAttributeStringChanged 事件
- Player.newMedia 方法
- Player.newPlaylist 方法
- Player.openPlayer 方法
- Player.playerApplication 属性
- Player.StatusChange 事件
- PlayerApplication 对象
- 设置.defaultAudioLanguage 属性
- 设置.mediaAccessRights 属性
- 设置.requestMediaAccessRights 方法
为 Windows 媒体播放器 10 添加了
- IWMPGraphCreation 接口
- IWMPPlayerServices2 接口
- IWMPSyncDevice 接口
- IWMPSyncServices 接口
- WMPDeviceStatus 枚举
- WMPSyncState 枚举
为 Windows 媒体播放器 11 添加了
- IWMPCdromBurn 接口
- IWMPCdromBurn 接口 (VB和 C#)
- IWMPCdromRip 接口
- IWMPCdromRip 接口 (VB和 C#)
- IWMPEvents3 接口
- IWMPFolderMonitorServices 接口
- IWMPLibrary 接口
- IWMPLibrary 接口 (VB和 C#)
- IWMPLibraryServices 接口
- IWMPLibraryServices 接口 (VB和 C#)
- IWMPLibrarySharingServices 接口
- IWMPMediaCollection2 接口
- IWMPMediaCollection2 接口 (VB和 C#)
- IWMPQuery 接口
- IWMPQuery 接口 (VB和 C#)
- IWMPRenderConfig 接口
- IWMPStringCollection2 接口
- IWMPStringCollection2 接口 (VB和 C#)
- IWMPSyncDevice2 接口
- IWMPVideoRenderConfig 接口
- 查询对象
- WMPBurnFormat 枚举
- WMPBurnState 枚举
- WMPLibraryType 枚举
- WMPRipState 枚举
为 Windows 媒体播放器 12 添加了
相关主题