共用方式為


IMediaObjectImpl::InputType

 
Microsoft DirectShow 9.0

IMediaObjectImpl::InputType

The InputType method retrieves the current media type for a specified input stream.

Syntax

  const DMO_MEDIA_TYPE *InputType(
    DWORD 
  ulInputStreamIndex

  );

Parameters

ulInputStreamIndex

Index of an input stream.

Return Value

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

Requirements

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

See Also