共用方式為


IMediaObjectImpl::OutputType

 
Microsoft DirectShow 9.0

IMediaObjectImpl::OutputType

The OutputType method retrieves the current media type for a specified output stream.

Syntax

  const DMO_MEDIA_TYPE *OutputType(
    DWORD 
  ulOutputStreamIndex

  );

Parameters

ulOutputStreamIndex

Index of an output stream.

Return Value

Returns a pointer to a DMO_MEDIA_TYPE structure, or NULL if the type is not set for this stream.

Requirements

  Header: Dmoimpl.h
  Library: Dmoguids.lib, Msdmo.lib

See Also