Share via


IMediaObject::GetOutputStreamInfo

This method retrieves information about an output stream; for example, whether the stream is discardable and whether it uses a fixed sample size. This information never changes.

HRESULT GetOutputStreamInfo(
  DWORD dwOutputStreamIndex,
  DWORD* pdwFlags
);

Parameters

  • dwOutputStreamIndex
    Zero-based index of an output stream on the DMO.
  • pdwFlags
    [out] Pointer to a variable that receives a bitwise combination of zero or more DMO_OUTPUT_STREAM_INFO_FLAGS flags.

Return Values

Returns an HRESULT value. Possible values include the following.

Value Description
S_OK Success
DMO_E_INVALIDSTREAMINDEX Invalid stream index
E_POINTER NULL pointer argument

Requirements

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

See Also

IMediaObject | IMediaObject::GetInputSizeInfo | DMO_E_INVALIDSTREAMINDEX | DMO_OUTPUT_STREAM_INFO_FLAGS

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.