Compartir a través de


IMultiMediaStream::GetInformation (Compact 2013)

3/26/2014

This method retrieves the capabilities of a media stream that matches the specified media type.

Syntax

HRESULT GetInformation(
  DWORD* pdwFlags,
  STREAM_TYPE* pStreamType
);

Parameters

  • pdwFlags
    [out] Pointer to a value that will contain a combination of one or more of the following flags. Can be NULL.

    Value

    Description

    MMSSF_ASYNCHRONOUS

    The stream supports asynchronous sample updates.

    All implementations of IMultiMediaStream support the asynchronous updates; this flag confirms it.

    MMSSF_HASCLOCK

    The stream has a clock.

    MMSSF_SUPPORTSEEK

    The stream supports seeking.

  • pStreamType
    [out] Pointer to a STREAM_TYPE enumeration type that will contain the media type information for the derived media streams. Can be NULL.

Return Value

Returns an HRESULT value.

Remarks

A stream's capabilities include whether it has a clock, if it supports seeking, and whether it supports asynchronous updating.

Requirements

Header

dshow.h

Library

Strmiids.lib

See Also

Reference

IMultiMediaStream Interface