The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
IMFMediaEngineEx::InsertVideoEffect method
Inserts a video effect.
Syntax
HRESULT InsertVideoEffect( [in] IUnknown *pEffect, [in] BOOL fOptional );
Parameters
- pEffect [in]
-
One of the following:
- A pointer to the IMFTransform interface of a Media Foundation transform (MFT) that implements the video effect.
- A pointer to the IMFActivate interface of an activation object. The activation object must create an MFT for the video effect.
- fOptional [in]
-
Specifies whether the effect is optional.
Return value
This method can return one of these values.
| Return code | Description |
|---|---|
|
Success. |
|
The maximum number of video effects was reached. |
Remarks
The effect is applied when the next media resource is loaded.
Requirements
|
Minimum supported client |
Windows 8 [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows Server 2012 [desktop apps | Windows Store apps] |
|
Header |
|
See also
Show: