Skip to content

Latest commit

 

History

History
121 lines (94 loc) · 3.48 KB

nf-strmif-ipin-endflush.md

File metadata and controls

121 lines (94 loc) · 3.48 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:strmif.IPin.EndFlush
IPin::EndFlush (strmif.h)
The EndFlush method ends a flush operation. (IPin.EndFlush)
EndFlush
EndFlush method [DirectShow]
EndFlush method [DirectShow]
IPin interface
IPin interface [DirectShow]
EndFlush method
IPin.EndFlush
IPin::EndFlush
IPinEndFlush
dshow.ipin_endflush
strmif/IPin::EndFlush
dshow\ipin_endflush.htm
dshow
42b201b6-1fbf-4a01-aed7-23a9e66c11ea
4/26/2023
EndFlush, EndFlush method [DirectShow], EndFlush method [DirectShow],IPin interface, IPin interface [DirectShow],EndFlush method, IPin.EndFlush, IPin::EndFlush, IPinEndFlush, dshow.ipin_endflush, strmif/IPin::EndFlush
strmif.h
Dshow.h
Windows
Windows 2000 Professional [desktop apps only]
Windows 2000 Server [desktop apps only]
Strmiids.lib
Windows
19H1
IPin::EndFlush
strmif/IPin::EndFlush
c++
APIRef
kbSyntax
COM
Strmiids.lib
Strmiids.dll
IPin.EndFlush

IPin::EndFlush

-description

[The feature associated with this page, DirectShow, is a legacy feature. It has been superseded by MediaPlayer, IMFMediaEngine, and Audio/Video Capture in Media Foundation. Those features have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer, IMFMediaEngine and Audio/Video Capture in Media Foundation instead of DirectShow, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

The EndFlush method ends a flush operation.

Applications should not call this method. This method is called by other filters, to flush data from the graph.

-returns

Returns an HRESULT value. Possible values include the following.

Return code Description
S_OK
Success.
E_UNEXPECTED
The pin is an output pin.

-remarks

Call this method only on input pins. Output pins return E_UNEXPECTED.

When this method is called, the filter performs the following actions:

  1. Waits for all queued samples to be discarded.
  2. Frees any buffered data, including any pending end-of-stream notifications.
  3. Clears any pending EC_COMPLETE notifications.
  4. Calls EndFlush downstream.
When the method returns, the pin can accept new samples.

-see-also

Data Flow in the Filter Graph

Error and Success Codes

IPin Interface