次の方法で共有


IAsyncReader2::IsEndOfStream (Compact 2013)

3/26/2014

This method determines whether a file pointer is at the end of the media stream for this connection.

Syntax

HRESULT IsEndOfStream( );

Parameters

None

Return Value

Returns the HRESULT values shown in the following table.

Value

Description

E_FAIL

The end of stream has not been reached. Unknown internal error occurred.

S_OK

The end of stream has been reached.

S_FALSE

The end of stream has not been reached.

Remarks

The sample start position is set in the call to IAsyncReader2::SetCurrentPosition or IAsyncReader2::SetCurrentTime. The sample position is incremented in the call to IAsyncReader2::GetNext.

Requirements

Header

dshow.h

Library

Strmiids.lib

See Also

Reference

IAsyncReader2 Interface