Compartir a través de


IWMStreamList interface (wmsdkidl.h)

[The feature associated with this page, Windows Media Format 11 SDK, is a legacy feature. It has been superseded by Source Reader and Sink Writer. Source Reader and Sink Writer have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use Source Reader and Sink Writer instead of Windows Media Format 11 SDK, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

The IWMStreamList interface is used by mutual exclusion objects and bandwidth sharing objects to maintain lists of streams. The IWMMutualExclusion and IWMBandwidthSharing interfaces each inherit from IWMStreamList. These are the only uses of this interface in the SDK. You never need to deal with interface pointers for IWMStreamList directly.

Inheritance

The IWMStreamList interface inherits from the IUnknown interface. IWMStreamList also has these types of members:

Methods

The IWMStreamList interface has these methods.

 
IWMStreamList::AddStream

The AddStream method adds a stream to the list.
IWMStreamList::GetStreams

The GetStreams method retrieves an array of stream numbers that make up the list.
IWMStreamList::RemoveStream

The RemoveStream method removes a stream from the list.

Requirements

Requirement Value
Target Platform Windows
Header wmsdkidl.h

See also

Bandwidth Sharing Object

Interfaces

Mutual Exclusion Object