IMFMediaEngineClassFactory4::CreateContentDecryptionModuleFactory method (mfmediaengine.h)
Creating an instance of IMFContentDecryptionModuleFactory, a class factory for Content Decryption Module (CDM) objects, for a specified key system.
Syntax
HRESULT CreateContentDecryptionModuleFactory(
LPCWSTR keySystem,
REFIID riid,
LPVOID *ppvObject
);
Parameters
keySystem
An LPWSTR identifying the Key System for which the interface is created.
riid
The IID of the IMFContentDecryptionModuleFactory interface to create.
ppvObject
Receives a pointer to the created interface.
Return value
Returns S_OK on success.
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 | mfmediaengine.h |