ISBE2Crossbar::EnumStreams method (sbe.h)

[The feature associated with this page, Microsoft TV Technologies, is a legacy feature. Microsoft strongly recommends that new code does not use this feature.]

Gets an enumeration object for all streams that are discovered in a WTV file. The filter crossbar, which exposes the ISBE2Crossbar interface, manages the mappings between the streams in the WTV file and the filter output pins.

The WTV file format supports dynamic creation and deletion of streams within the file. An SBE2_STREAM_DESC global spanning event in the file signals when a stream is created or deleted.

Syntax

HRESULT EnumStreams(
  [out] ISBE2EnumStream **ppStreams
);

Parameters

[out] ppStreams

Receives a pointer to the ISBE2EnumStream interface that the crossbar implements. You can use the methods that are defined by the ISBE2EnumStream interface to enumerate the streams that can be mapped to output pins in the current profile. The caller is responsible for releasing the interface.

Return value

Returns an HRESULT value. Possible values include the following.

Return value Description
S_OK
Success.
E_POINTER
NULL pointer argument.
E_FAIL
No streams found.

Requirements

   
Minimum supported client Windows�7 [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header sbe.h

See also

ISBE2Crossbar

ISBE2EnumStream

Stream Buffer Source Filter