IMFCaptureSource::RemoveEffect method (mfcaptureengine.h)
Removes an effect from a capture stream.
Syntax
HRESULT RemoveEffect(
[in] DWORD dwSourceStreamIndex,
[in] IUnknown *pUnknown
);
Parameters
[in] dwSourceStreamIndex
The capture stream. The value can be any of the following.
Value | Meaning |
---|---|
|
The zero-based index of a stream. To get the number of streams, call IMFCaptureSource::GetDeviceStreamCount. |
|
The first image stream. |
|
The first video stream. |
|
The first audio stream. |
[in] pUnknown
A pointer to the IUnknown interface of the effect object.
Return value
This method can return one of these values.
Return code | Description |
---|---|
|
Success. |
|
Invalid request. Possibly the specified effect could not be found. |
|
The dwSourceStreamIndex parameter is invalid. |
Remarks
This method removes an effect that was previously added using the IMFCaptureSource::AddEffect method.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8 [desktop apps only] |
Minimum supported server | Windows Server 2012 [desktop apps only] |
Target Platform | Windows |
Header | mfcaptureengine.h |