Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 |