IMFContentDecryptionModuleFactory::CreateContentDecryptionModuleAccess method (mfcontentdecryptionmodule.h)
Creates an instance of the IMFContentDecryptionModuleAccess interface.
Syntax
HRESULT CreateContentDecryptionModuleAccess(
LPCWSTR keySystem,
IPropertyStore **configurations,
DWORD numConfigurations,
IMFContentDecryptionModuleAccess **contentDecryptionModuleAccess
);
Parameters
keySystem
An LPWSTR identifying the Key System for which the interface is created.
configurations
An IPropertyStore object containing the configuration options for the CDM.
numConfigurations
A DWORD specifying the number of properties in the configurations parameter.
contentDecryptionModuleAccess
Receives the created IMFContentDecryptionModuleAccess object.
Return value
Returns S_OK on success.
Remarks
IMFContentDecryptionModuleAccess is based on the Encrypted Media Extension specification's MediaKeySystemAccess.getConfiguration.
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 |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for