IMFASFProfile::RemoveStream method (wmcontainer.h)
Removes a stream from the Advanced Systems Format (ASF) profile object.
HRESULT RemoveStream( [in] WORD wStreamNumber );
Stream number of the stream to remove.
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
||The method succeeded.|
After a stream is removed, the ASF profile object reassigns stream indexes so that the index values are sequential starting from zero. Any previously stored stream index numbers are no longer valid after deleting a stream.
|Minimum supported client||Windows Vista [desktop apps only]|
|Minimum supported server||Windows Server 2008 [desktop apps only]|