Share via


IMediaObject::GetInputStatus (Windows CE 5.0)

Send Feedback

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

HRESULT GetInputStatus(DWORDdwInputStreamIndex,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

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.