Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
A version of this page is also available for
4/8/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 HRESULTvalue. Possible values include the following.
Value | Description |
---|---|
S_OK |
Success |
Invalid stream index |
Remarks
If the input stream will accept more data, the method returns the DMO_INPUT_STATUSF_ACCEPT_DATA flag in the dwFlagsparameter. Otherwise, it sets this parameter to zero.
If the stream will accept more data, the application can call the IMediaObject::ProcessInputmethod.
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 |
Windows Mobile | Windows Mobile Version 5.0 and later |