IMFDeviceTransform::FlushInputStream method (mftransform.h)
The FlushInputStream method flushes a Device MFT’s input stream.
Syntax
HRESULT FlushInputStream(
[in] DWORD dwStreamIndex,
[in] DWORD dwFlags
);
Parameters
[in] dwStreamIndex
Stream ID of the input stream which needs to be flushed.
[in] dwFlags
Contains the HRESULT of flushing the corresponding devproxy output stream.
Return value
The method returns an HRESULT. Possible values include but not limited to values given in the following table.
Return code | Description |
---|---|
|
Transitioning the stream state succeeded. |
|
Device MFT could not support the request at this time. |
|
An invalid stream ID was passed. |
|
The requested stream transition is not possible. |
Remarks
This interface method helps to flush a Device MFT’s input stream.
Device MFT should drop all samples in its queues and reset all its internal data structures related to that input stream. This is equivalent to resetting the input stream. The media type and stream state must not change.
When called
When the input stream needs to be reset, device transform manager (DTM) would call this method.Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10, version 1703 |
Target Platform | Windows |
Header | mftransform.h |