共用方式為


IMPEG2StreamIdMap::EnumStreamIdMap

 
Microsoft DirectShow 9.0

IMPEG2StreamIdMap::EnumStreamIdMap

The EnumStreamIdMap method returns a collection of all the mapped Stream IDs on this pin.

Syntax

  HRESULT EnumStreamIdMap(
  IEnumStreamIdMap** ppIEnumStreamIdMap
);

Parameters

ppIEnumStreamIdMap

[in] IEnumStreamIdMap interface pointer that will be set to the returned collection.

Return Value

Returns S_OK if successful. If the method fails, it returns an HRESULT error code.

Remarks

Currently, there is only one stream ID mapped to a given pin, therefore this collection will contain a single item.

Requirements

Header: Declared in Strmif.h; include Dshow.h.

Library: Use Strmiids.lib.

See Also