IPin::EndOfStream
A version of this page is also available for
4/8/2010
This method informs the input pin that no additional data is expected until a new run command is issued.
Syntax
HRESULT EndOfStream(void);
Parameters
None.
Return Value
Returns one of the following HRESULT values.
Value | Description |
---|---|
S_OK |
No error occurred. |
E_UNEXPECTED |
Method was probably called on an output pin that does not support this. |
Remarks
Calling this method notifies the pin that no additional data is expected until a new run command is issued. The end-of-stream notification should be queued and delivered after all queued data is delivered. It can be delivered immediately if there is no queued data.
The IPin::BeginFlush method flushes any queued end-of-stream notifications. This is intended for input pins only.
This method is implemented in the base classes by CBaseOutputPin::EndOfStream.
Requirements
Windows Embedded CE | Windows CE 2.12 and later |
Windows Mobile | Pocket PC for Windows Mobile Version 5.0 and later, Smartphone for Windows Mobile Version 5.0 and later |
Note | Microsoft DirectShow applications and DirectShow filters have different include file and Library requirements For more information, see Setting Up the Build Environment, Version 2.12 requires DXPAK 1.0 or later |