次の方法で共有


IPin::EndOfStream (Compact 2013)

3/26/2014

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

Header

dshow.h

Library

Strmiids.lib

See Also

Reference

IPin Interface