IMFASFProfile::SetStream method (wmcontainer.h)
Adds a stream to the profile or reconfigures an existing stream.
Syntax
HRESULT SetStream(
[in] IMFASFStreamConfig *pIStream
);
Parameters
[in] pIStream
Pointer to the IMFASFStreamConfig interface of a configured ASF stream configuration object.
Return value
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
Return code | Description |
---|---|
|
The method succeeded. |
Remarks
If the stream number in the ASF stream configuration object is already included in the profile, the information in the new object replaces the old one. If the profile does not contain a stream for the stream number, the ASF stream configuration object is added as a new stream.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Target Platform | Windows |
Header | wmcontainer.h |
Library | Mfuuid.lib |