Compartilhar via


IMediaObject::GetOutputStreamInfo

 
Microsoft DirectShow 9.0

IMediaObject::GetOutputStreamInfo

The GetOutputStreamInfo 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.

Syntax

  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 Value

Returns an HRESULT value. Possible values include those in the following table.

Return Code Description
DMO_E_INVALIDSTREAMINDEX Invalid stream index
E_POINTER NULL pointer argument
S_OK Success

Requirements

  Header: Declared in Mediaobj.h; include Dmo.h
  Library: Dmoguids.lib.

See Also