Partager via


IMediaObject::GetInputStatus (Compact 2013)

3/26/2014

This method queries whether an input stream can accept more input data.

Syntax

HRESULT GetInputStatus(
  DWORD dwInputStreamIndex,
  DWORD* dwFlags
);

Parameters

  • dwInputStreamIndex
    Zero-based index of an input stream on the DMO.
  • dwFlags
    [out] Pointer to a variable that receives either zero or DMO_INPUT_STATUSF_ACCEPT_DATA.

Return Value

Returns an HRESULT value. Possible values include the following.

Value

Description

S_OK

Success

DMO_E_INVALIDSTREAMINDEX

Invalid stream index

Remarks

If the input stream will accept more data, the method returns the DMO_INPUT_STATUSF_ACCEPT_DATA flag in the dwFlags parameter. Otherwise, it sets this parameter to zero.

If the stream will accept more data, the application can call the IMediaObject::ProcessInput method.

The status of an input stream can change only as the result of one of the following method calls:

Requirements

Header

dmo.h

Library

Dmoguid.lib

See Also

Reference

IMediaObject
IMediaObject::Discontinuity
IMediaObject::Flush
IMediaObject::ProcessInput
IMediaObject::ProcessOutput
DMO Error Codes