IWMStreamConfig2 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 IWMStreamConfig2 interface manages the data unit extensions associated with a stream.
IWMStreamConfig2 inherits from IWMStreamConfig. To obtain a pointer to IWMStreamConfig2, call the QueryInterface method of the IWMStreamConfig interface.
Inheritance
The IWMStreamConfig2 interface inherits from IWMStreamConfig. IWMStreamConfig2 also has these types of members:
Methods
The IWMStreamConfig2 interface has these methods.
IWMStreamConfig2::AddDataUnitExtension The AddDataUnitExtension method adds a data unit extension system to the stream. You can use data unit extension systems to attach custom data to samples in an output file. |
IWMStreamConfig2::GetDataUnitExtension The GetDataUnitExtension method retrieves information about an existing data unit extension system. |
IWMStreamConfig2::GetDataUnitExtensionCount The GetDataUnitExtensionCount method retrieves the total number of data unit extension systems that have been added to the stream. |
IWMStreamConfig2::GetTransportType The GetTransportType method retrieves the type of data communication protocol (reliable or unreliable) used for the stream. |
IWMStreamConfig2::RemoveAllDataUnitExtensions The RemoveAllDataUnitExtensions method removes all data unit extension systems that are associated with the stream. |
IWMStreamConfig2::SetTransportType The SetTransportType method sets the type of data communication protocol (reliable or unreliable) used for the stream. |
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | wmsdkidl.h |