次の方法で共有


IMediaObject::GetOutputStreamInfo (Compact 2013)

3/26/2014

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.

Syntax

HRESULT GetOutputStreamInfo(
  DWORD dwOutputStreamIndex,
  DWORD* pdwFlags
);

Parameters

  • dwOutputStreamIndex
    Zero-based index of an output stream on the DMO.

Return Value

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

Header

dmo.h

Library

Dmoguid.lib

See Also

Reference

IMediaObject
IMediaObject::GetInputSizeInfo
DMO Error Codes
DMO_OUTPUT_STREAM_INFO_FLAGS