Partager via


IPin::EndOfStream (Windows Embedded CE 6.0)

1/6/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
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

See Also

Reference

IPin Interface