IMultiMediaStream::GetInformation

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

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 will 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 Values

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

DirectShow applications and DirectShow filters have different include file and link library requirements. See Setting Up the Build Environment for more information.

OS Versions: Windows CE 2.12 and later. Version 2.12 requires DXPAK 1.0 or later.

See Also

IMultiMediaStream Interface

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.