IMFContentDecryptionModuleFactory::CreateContentDecryptionModuleAccess 方法 (mfcontentdecryptionmodule.h)
创建 IMFContentDecryptionModuleAccess 接口的 实例。
语法
HRESULT CreateContentDecryptionModuleAccess(
LPCWSTR keySystem,
IPropertyStore **configurations,
DWORD numConfigurations,
IMFContentDecryptionModuleAccess **contentDecryptionModuleAccess
);
参数
keySystem
标识为其创建接口的密钥系统的 LPWSTR 。
configurations
包含 CDM 的配置选项的 IPropertyStore 对象。
numConfigurations
指定 configurations 参数中的属性数的 DWORD。
contentDecryptionModuleAccess
接收创建的 IMFContentDecryptionModuleAccess 对象。
返回值
如果成功,则返回 S_OK。
注解
IMFContentDecryptionModuleAccess 基于加密媒体扩展规范的 MediaKeySystemAccess.getConfiguration。
要求
要求 | 值 |
---|---|
最低受支持的客户端 | Windows 10版本 2004 (10.0;内部版本 19041) |
最低受支持的服务器 | Windows Server 版本 2004 (10.0;内部版本 19041) |
标头 | mfcontentdecryptionmodule.h |
另请参阅
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈