查询 Windows Media Player 库
我正在尝试弄清楚如何以编程方式从 C# 程序查询 Windows Media Player 库。我不想控制媒体播放器,只是能够查询存储在库中的录音索引。
使用 OleDbConnections,我已经能够连接到 Windows SystemIndex 来查询各种文件和条件,但这些搜索涵盖系统中的所有文件,而不仅仅是 WMP 库中维护的文件。
有人能指出我正确的方向吗?
——罗伯特
Possible Duplicate:
Access the Windows Media Player library C#
I'm trying to figure out how to programmatically query the Windows Media Player library from a C# program. I don't want to control the media player, just be able to query the index of recordings stored in the library.
Using OleDbConnections I have been able to connect to the Windows SystemIndex to query for various files and conditions, but these searches are across all files in my system and not just those maintained in the WMP library.
Can anyone point me in the right direction, please?
-- Robert
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
MSDN 有一个关于媒体播放器 SDK 的完整部分 - 和 此页面对您尤其有用。
MSDN has a whole section on the Media Player SDK - and this page in particular should be of considerable use to you, I hope.