Notitie
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen u aan te melden of de directory te wijzigen.
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen de mappen te wijzigen.
This function creates an object that implements IMFActivate. This object’s implementation of ActivateObject is based on the specified IMFPMPHostApp and class ID.
Syntax
HRESULT MFCreateEncryptedMediaExtensionsStoreActivate(
IMFPMPHostApp *pmpHost,
IStream *objectStream,
LPCWSTR classId,
IMFActivate **activate
);
Parameters
pmpHost
An IMFPMPHostApp with the necessary information to create the IMFActivate for this app package.
objectStream
An IStream representing the object stream that will be loaded via IMFActivate::Load.
classId
An LPCWSTR representing the target object's activatable class id.
activate
Receives a reference to the to an IMFActivate.
Return value
Returns S_OK on success.
Remarks
The IMFActivate can be created in a protected process and activated in an app process.
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 |
| Library | Mf.lib |