Share via


IMediaObject::GetInputStatus

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

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 Values

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

OS Versions: Windows CE .NET 4.1 and later.
Header: Dmo.h.
Link Library: Dmoguid.lib.

See Also

IMediaObject | IMediaObject::Discontinuity | IMediaObject::Flush | IMediaObject::ProcessInput | IMediaObject::ProcessOutput | DMO_E_INVALIDSTREAMINDEX

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.