Share via


IMPEG2StreamIdMap::UnmapStreamId

 
Microsoft DirectShow 9.0

IMPEG2StreamIdMap::UnmapStreamId

The UnmapStreamId method unmaps the Stream ID mapping created in a previous call to MapStreamId.

Syntax

  HRESULT UnmapStreamId(
  ULONG culStreamId,
  ULONG* pulStreamID
);

Parameters

culStreamId

[in] Variable of type ULONG that specifies the number of elements in the pulStreamID array.

pulStreamID

[in] Array of Stream IDs mapped for this pin.

Return Value

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

Remarks

There is typically only one stream ID mapped to a given pin, therefore pulStreamID will typically contain a single element.

Requirements

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

Library: Use Strmiids.lib.

See Also