नोट
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप साइन इन करने या निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
Creates a IMFContentDecryptionModule that represents a Content Decryption Module (CDM) for a DRM key system.
Syntax
HRESULT CreateContentDecryptionModule(
IPropertyStore *contentDecryptionModuleProperties,
IMFContentDecryptionModule **contentDecryptionModule
);
Parameters
contentDecryptionModuleProperties
An IPropertyStore object containing the properties for the CDM.
contentDecryptionModule
Receives the created IMFContentDecryptionModule object.
Return value
Returns S_OK on success.
Remarks
The following properties are supported for the contentDecryptionModuleProperties parameter.
| Property | Description |
|---|---|
| MF_CONTENTDECRYPTIONMODULE_INPRIVATESTOREPATH | A file path representing a storage location the Content Decryption Module (CDM) can use for content-specific data. |
| MF_CONTENTDECRYPTIONMODULE_STOREPATH | A file path representing a storage location the Content Decryption Module (CDM) can use for initialization. The path specified with this property will also be used for content-specific data if the MF_CONTENTDECRYPTIONMODULE_INPRIVATESTOREPATH property isn't set. |
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 10, version 2004 (10.0; Build 19041) |
| Minimum supported server | Windows Server, version 2004 (10.0; Build 19041) |
| Header | mfcontentdecryptionmodule.h |