MFCreateMediaExtensionActivate function
Creates an activation object for a Windows Runtime class.
Syntax
HRESULT MFCreateMediaExtensionActivate( _In_ PCWSTR szActivatableClassId, _In_ IUnknown *pConfiguration, _In_ REFIID riid, _Out_ LPVOID *ppvObject );
Parameters
- szActivatableClassId [in]
-
The class identifier that is associated with the activatable runtime class.
- pConfiguration [in]
-
A pointer to an optional IPropertySet object, which is used to configure the Windows Runtime class. This parameter can be NULL.
- riid [in]
-
The interface identifier (IID) of the interface being requested. The activation object created by this function supports the following interfaces:
- ppvObject [out]
-
Receives a pointer to the requested interface. The caller must release the interface.
Return value
If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
To create the Windows Runtime object, call IMFActivate::ActivateObject or IClassFactory::CreateInstance.
Requirements
|
Minimum supported client |
Windows 8 [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows Server 2012 [desktop apps | Windows Store apps] |
|
Minimum supported phone |
Windows Phone 8.1 |
|
Header |
|
|
Library |
|
|
DLL |
|
See also