MediaProtectionPMPServer(IPropertySet) 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
使用指定的属性初始化 MediaProtectionPMPServer 类的新实例。
public:
MediaProtectionPMPServer(IPropertySet ^ pProperties);
MediaProtectionPMPServer(IPropertySet const& pProperties);
public MediaProtectionPMPServer(IPropertySet pProperties);
function MediaProtectionPMPServer(pProperties)
Public Sub New (pProperties As IPropertySet)
参数
- pProperties
- IPropertySet
用于初始化服务器的属性集。
注解
MediaProtectionPMPServer 支持以下属性:
属性 | 说明 |
---|---|
“Windows.Media.Protection.MediaProtectionSystemId” | 表示应用将使用的 DRM 系统的 GUID。 这允许系统确定设备上是否支持硬件 DRM。 |
Windows.Media.Protection.UseSoftwareProtectionLayer | 将此设置为 true 会告知系统使用软件 DRM,即使硬件 DRM 在当前设备上可用。 |
Windows.Media.Protection.PMPStoreContext | (CDM) 对象实现存储内容解密模块时,应用商店 CDM 应查找并创建 IMFContentDecryptionModuleAccess::CreateContentDecryptionModule 中的 MF_CONTENTDECRYPTIONMODULE_PMPSTORECONTEXT 属性的副本。 如果 Store CDM 对象想要为 Store CDM 二进制文件中定义的对象创建支持 CreateObjectByCLSID 的 MediaProtectionPMPServer,则需要传递此属性。 |