次の方法で共有


IMultiMediaStream::GetInformation (Windows Embedded CE 6.0)

1/6/2010

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

Windows Embedded CE Windows CE 2.12 and later
Note Microsoft DirectShow applications and DirectShow filters have different include file and Library requirements
For more information, see Setting Up the Build Environment, Version 2.12 requires DXPAK 1.0 or later

See Also

Reference

IMultiMediaStream Interface