Поделиться через


IMediaObject::GetInputStatus (Windows Embedded CE 6.0)

1/6/2010

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
Windows Embedded CE Windows CE .NET 4.1 and later

See Also

Reference

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