IMFASFMutualExclusion::AddStreamForRecord method (wmcontainer.h)
Adds a stream number to a record in the Advanced Systems Format mutual exclusion object.
Syntax
HRESULT AddStreamForRecord(
[in] DWORD dwRecordNumber,
[in] WORD wStreamNumber
);
Parameters
[in] dwRecordNumber
The record number to which the stream is added. A record number is set by the IMFASFMutualExclusion::AddRecord method.
[in] wStreamNumber
The stream number to add to the record.
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. |
|
The specified stream number is already associated with the record. |
Remarks
Each record includes one or more streams. Every stream in a record is mutually exclusive of all streams in every other record.
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 |
See also
IMFASFMutualExclusion::GetStreamsForRecord
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for